Essential Linux Commands for Beginners: The First Twenty
You do not need to memorize hundreds of commands. These twenty cover most of what a beginner does day to day on a Linux system. When I started on Linux, I bookmarked cheat sheets with hundreds of commands and felt obliged to learn them all. That was the wrong approach. Most of what I actually did in the first month came down to about twenty commands, and getting comfortable with those twenty mattered far more than skimming a list of two hundred. Here is the set I would hand to a new user today. Moving Around and Looking at Files The first group is navigation and inspection. pwd prints the working directory, which answers the constant beginner question of where am I. ls lists directory contents, and ls -la shows hidden files and permissions in a long format. cd changes directory, and cd with no argument returns home. cat prints a file to the terminal, fine for short files. For anything longer, less opens a pager that lets you scroll and search without loading the whole file into memory. pwd ls -la cd /var/log less /etc/os-release These four cover the basic loop: see where you…