Essential Linux Terminal Commands Every Beginner Should Know
The command line looks scary, but a dozen commands cover almost everything you'll do day to day.
Why learn the terminal at all
The terminal (or command line) lets you control Linux by typing commands instead of clicking. It looks intimidating, but it's often faster and more powerful than a graphical interface, and on servers, it's frequently the only option. You don't need to memorize hundreds of commands. A dozen or so cover the vast majority of everyday tasks: moving around, managing files, and running programs. Learn these, and the terminal shifts from scary to genuinely useful. Everything below is safe to practice, we'll flag the few commands that need caution.
Finding your way: pwd, ls, cd
Start with navigation. 'pwd' (print working directory) shows where you currently are in the file system. 'ls' lists the files and folders in your current location, add 'ls -l' for details like size and permissions, or 'ls -a' to include hidden files. 'cd' (change directory) moves you around: 'cd Documents' enters a folder, 'cd ..' goes up one level, and 'cd ~' (or just 'cd') returns to your home folder. These three are the foundation, master them and you can navigate any Linux system confidently.
Managing files: mkdir, cp, mv, rm
Next, working with files and folders. 'mkdir' makes a new directory ('mkdir projects'). 'cp' copies files ('cp file.txt backup.txt'); add '-r' to copy folders. 'mv' moves or renames ('mv old.txt new.txt' renames; 'mv file.txt folder/' moves it). 'rm' removes files ('rm file.txt'), and here's the big caution: 'rm' is permanent, there's no recycle bin, and 'rm -r' deletes folders and everything in them. Double-check before deleting, especially with wildcards. These commands handle nearly all your file management from the terminal.
Looking inside files: cat, less, nano
To read files without a graphical editor: 'cat file.txt' dumps a file's contents to the screen (good for short files). 'less file.txt' opens a scrollable view for longer files, use arrow keys to move and 'q' to quit. To actually edit, 'nano file.txt' opens a beginner-friendly text editor right in the terminal, with on-screen shortcuts (Ctrl+O to save, Ctrl+X to exit). Nano is far gentler than the famously tricky 'vi'/'vim' editors, so it's the best starting point for editing configuration files or notes from the command line.
Getting help and finding things
You'll never remember every option, so learn to get help. 'man' (manual) shows documentation for a command, 'man ls' explains everything ls can do (press 'q' to exit). Many commands also accept '--help' for a quick summary ('ls --help'). To locate files, 'find' searches directories, and 'grep' searches inside files for text ('grep word file.txt'). And 'clear' tidies a cluttered screen. Knowing how to look things up matters more than memorization, these tools let you figure out any command you encounter.
sudo: power and responsibility
Finally, the command that carries real power: 'sudo' runs a command with administrator (root) privileges, needed for system-wide changes like installing software or editing protected files ('sudo apt install ...' on Debian/Ubuntu-based systems). It'll ask for your password. Treat sudo with respect: running the wrong command as root can damage your system, and you should never blindly paste sudo commands from the internet without understanding them. Used carefully, it's essential; used carelessly, it's how beginners break things. When in doubt, understand a command before running it with sudo.
Related on Skillo
See also: What is Linux and why it runs the world, How to choose a Linux distro: a beginner's guide.
Sources
Published date reflects the original event date (2026-04-18). This article is original Skillo editorial written from the sources above; facts were verified in September 2026.
Written by
Skillo Staff
0 Comments
Sign in to join the discussion.
No comments yet. Be the first to share your thoughts.