Skip to content

Basics commands

CiamalaKombeGreg edited this page Oct 5, 2023 · 24 revisions

Basic commands of linux shell


man

The command man display a small manual with a explanation of how to use a command. You can write it man <command>.

man ls
man mv

cd

The command cd allow you to navigate between directories. You can change from the current directory to another one by typing the name of the directory you want to go in cd <directory>, with the directory path cd /<directory>/<directory>/<directory>.

#I'm in system and I want to go in the directory documents

cd /home/system/documents
cd documents

There is also the possibility to use cd to go back in the parents directory by using cd alone which send you back to the root directory or cd .. who make you return to the parent directory of the current one.

#I'm in documents and doing cd while send me back to system

cd /home/system/documents
cd ..

Clone this wiki locally