Basics, Files and Directories

CommandExplanation
pwdPrint current directory
cdSwitch directories
cd ..Switch to previous directory in the tree
cd –Switch back to your previous working directory
lsList content of directories
manManpages
catView content of a file
touchCreate a new file
mkdirCreate a new directory
mvMove a file or directory
cpCopy a file or directory
rmRemove a file or directory