Linux Command Line Basics for Early IT Professionals: Commands to Learn First

Linux command line basics show up in more IT jobs than most junior staff expect. Web servers, cloud virtual machines, firewalls, network appliances, and containers all run on Linux. When something breaks, you often get a terminal window and no graphical interface. If you work in help desk or junior administration, learning the shell early pays off fast. This guide covers the commands to learn first, how to practise them, and which certifications test these skills.
Want a clear plan for your next certification? Get a personalized certification roadmap built around your current role.
Why the Command Line Matters in Your First IT Roles
Most Linux servers run without a desktop. Administrators reach them over SSH and work in a text shell. Red Hat explains in its overview of Linux how the operating system runs everything from data centres to public cloud platforms.
The shell also makes your work repeatable. A command you type once becomes a line in a script. A script becomes a scheduled job. You follow the same path with PowerShell on Windows, and the habits transfer in both directions.
Find Your Way Around the File System
Linux arranges every file under one root directory, written as a single forward slash. Start with three commands. The pwd command prints your current location. The ls command lists the files in a directory, and ls -l adds owners, permissions, sizes, and dates. The cd command moves you to another directory.
Learn the key locations next. The /etc directory holds configuration files. The /var/log directory holds log files. The /home directory holds user folders. Once you know where things live, most troubleshooting gets faster.
Work With Files and Text
You will spend much of your time reading files, not editing them. Learn these commands in your first week:
- cat prints a whole file, and less lets you scroll through a long one.
- head and tail show the first or last lines, and tail -f follows a log as new entries arrive.
- grep searches for text, such as grep error /var/log/messages to find failures fast.
- cp, mv, mkdir, and rm copy, move, create, and delete. Treat rm with care. Linux has no recycle bin.
The pipe character sends the output of one command into another. For example, grep sshd /var/log/secure | tail -20 shows the 20 most recent SSH log entries. Pipes turn small commands into flexible tools. The GNU Bash manual documents pipes, redirection, and every built-in shell feature.
For editing, pick one terminal editor and learn the basics. Beginners find nano simple. The vi editor appears on almost every server, so learn to open a file, insert text, save, and quit.
Users, Permissions, and sudo
Every file has an owner, a group, and three sets of permissions for read, write, and execute. The ls -l output shows them as a string such as rwxr-xr–. Use chmod to change permissions and chown to change ownership.
Most admin tasks need elevated rights. Instead of logging in as root, you type sudo before a command. Many organizations log every sudo command, so treat it as a record of your work. A wrong chmod on a system folder breaks services. Test changes in a lab first.
Processes, Services, and Packages
When a server runs slow, check what is running. The ps aux command lists processes. The top command shows live CPU and memory use. The kill command stops a process by its ID.
Most modern distributions manage services with systemd. Run systemctl status sshd to check a service, and systemctl restart sshd to restart it. The journalctl command shows the logs systemd collects. Install software with the package manager for your distribution, dnf on Red Hat Enterprise Linux and apt on Ubuntu and Debian.
Networking Commands for Troubleshooting
Many Linux tickets start as network tickets. The ip addr command shows interface addresses. Use ping to test reachability. The ss -tuln command lists the ports a server listens on. Use dig or nslookup to test DNS, and curl to check whether a web service responds. These commands map closely to the network checks you already run on Windows with ipconfig and nslookup.
Use the Built-In Help
You do not need to memorize every option. Type man followed by a command name to read its manual page. The Linux man-pages project hosts the same pages online. Most commands also accept –help for a short summary. Get comfortable reading help pages. Senior administrators check them every day.
Practise in a Safe Lab
Reading commands teaches little. Typing them builds memory. Install a free Linux distribution such as Fedora, Rocky Linux, or Ubuntu in a virtual machine on your laptop. On Windows, the Windows Subsystem for Linux gives you a shell without a separate virtual machine.
Set yourself small tasks. Create users and groups. Change permissions on a shared folder. Install a web server, start it, and confirm it responds with curl. Then stop the service and work out why the page fails. Write each step in a notes file. Over time, those notes become your personal runbook.
Certifications Covering Linux Command Line Skills
CompTIA Linux+ is a vendor-neutral starting point. It covers the file system, permissions, services, scripting, and troubleshooting across distributions. Browse our CompTIA courses for current dates.
Red Hat Certified System Administrator (RHCSA) is fully hands-on. You complete real tasks on live systems under a time limit, with no multiple-choice questions. Employers running Red Hat Enterprise Linux value it highly. Our Red Hat training prepares you with guided labs on the same tasks the exam tests.
If you plan to move toward cloud roles, Linux skills carry straight into AWS and Azure work, since most cloud virtual machines run Linux. Our Microsoft training and AWS courses build on the same foundation.
Next Step
Open a terminal today. Run pwd, ls -l, and tail on a log file. Add three new commands each week until the shell feels normal.
We do not promise a job or a salary. We do offer small, instructor-led classes where you practise on real systems and get answers to your own questions.
Ready to plan your path? Get a personalized certification roadmap and we will match training to your experience and goals.
