Skip to content

Basic

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

OBS: Not every command has a manual page.

Run man <command> in CLI

To see what files are in your current directory: ls

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.

Terminal window
# Check available shells
cat /etc/shells
# Change shell
sudo chsh -s <path to shell>