Skip to content

Basic

All the commands listed here can be used in each linux distro.

Check manual for each command

OBS: Not every command has a manual page.

Run man <command> in CLI

TLDR

If you don’t want to read the manual page, you can use the tldr command. This can be installed or used on their website

explainshell

If you want to see what a command does, you can use explainshell

List items in directory

To see what files are in your current directory: ls

See content of file

Print out the content of a file into terminal: cat

Open the file in a window and open it at the bottom: less.

Open the file in a window and open it at the top: head.