pwd — Show current directory.
ls — List files and folders in current directory.
ls -l — Show more details.
ls -a — Show hidden files and folders.
ls – la — Show hidden files and folders with details.
clear — Clear screen.
cd [directory] — Change directory.
cd or cd~ — Go home.
cd / — Go to root.
cd .. — Go up one directory.
cd – — Go back.
passwd — Change password.
echo — Print to screen.
info <command> — Display more information about a command.
mkdir [name] — Make a new folder.
rmdir [name] — Delete a folder.
touch [name] — Create new file, if it doesn’t already exist.
rm [name] — Delete a file.
cp [name] [new name] — Copy a file.
mv [name>] [directory] [new name] — Move a file. Rename by moving to the same directory.
cat [file] — Show contents of a file.
grep [word] [file] — Search for word in file.
diff [file1] [file2] — Compare two files.
[command] > [file] — Save to file.
[command] >> [file] — Append to file.
chmod — Edit file permission.
gzip [file] — Compress file.
gunzip [file] — Uncompress.
tar cvf [name] [files] — Compress several files.
tar xvf [tar file] — Extract.