Up and Down cursor keys
Select previous commands

Use after a command to get help on its options


cd some_directory_name
Go to directory

cd ~
Go to $HOME directory

cd ..
Go up a directory

cd -
Go to previous directory

Where am I - show current directory

List contents of directory

ls -alh
What's here - list all files and folders

mkdir my_directory_name
Make a directory

sudo rm -r my_directory_name
Delete a directory and any files it contains


rm somefilename.*
Remove file or files

cp existing_file.txt new_file.txt
Copy file

cp /some_folder/existing_file.txt .
Copy file to current working directory

Download file
Move or rename file
mv {old-dir-name} {new-dir-name}
Move all files
"mv /path/sourcefolder/* /path/destinationfolder/"

"mv /path/sourcefolder/*.txt /path/destinationfolder/"
We benefit hugely from resources on the web so we decided we should try and give back some of our knowledge and resources to the community by opening up many of our company’s internal notes and libraries through mini sites like this. We hope you find the site helpful.
Please feel free to comment if you can add help to this page or point out issues and solutions you have found, but please note that we do not provide support on this site. If you need help with a problem please use one of the many online forums.


  1. Johannes

    3 years ago

    This site is absolutely brilliant !


Your email address will not be published. Required fields are marked *