Transfered from Linux Config:
If you are in a subdirectory such as /PROJECTS/P1/A/A1/A11, what single command would you use to return to your home directory from the current working directory?
The easiest but not only way to return to user's home directory from any directory within a filesystem is to use cd command without any options and arguments.
it is also possible to use:Code:cd
Code:cd ~Code:cd $HOMECode:cd ~/