Command line - astromechanic/cheat_sheets GitHub Wiki

ls - lists files and folders

rm - remove file

rm file.pages

rmdir - remove directory

cd - change directory go to the directory one level above

cd .. 

mv - rename file or move file to another directory

mv oldname.txt newname.txt 
mv myFile.txt myDirectory/

move the file into the folder one level up - two dots means parent folder

mv myfile.txt ..

mkdir - make directory

mkdir myDirectory