Command | Description |
---|---|
cd |
Change the current working directory |
pwd |
Show the full path of the current directory |
ls |
List the contents of a directory |
du |
Check disk usage of files and directories |
cd
)The cd
command is used to change your current working directory.
Syntax:
cd [directory]
Move to a specific directory:
cd /home/user/Documents
Move to the parent directory:
cd ..
Move to the home directory:
cd ~
Move to the previous directory:
cd -
pwd
)The pwd
command displays the full path of the current working directory.