cd ~ Linux Command
Changes to the current user's home directory.
What does cd ~ do?
Changes to the current user's home directory.
Syntax
cd ~Practical example
cd ~Related Navigation Commands
cd ..Moves up one directory level (to the parent directory).
cd -Switches back to the previous working directory.
cdChanges the current working directory to the specified path.
pushdSaves the current directory and then changes to the specified directory.
lsLists files and directories in the current directory.
popdReturns to the directory saved by the last pushd command.