Getting Started with Linux
An introduction to the Linux command line, file system, and essential commands.
Introduction
Linux is the backbone of modern computing. Whether you are managing servers, writing code, or just curious about how computers work, understanding Linux is one of the most valuable skills you can build.
The File System
Unlike Windows, Linux organizes everything in a single tree starting at /
(the root directory). Some key directories:
/home— user home directories/etc— system configuration files/var— variable data like logs/usr— user programs and utilities
Essential Commands
pwd # print working directory
ls # list files
cd # change directory
mkdir # make directory
rm # remove files
cat # print file contents
T
TIP
Practice these commands daily — muscle memory is the goal.
W
WARN
Be careful with rm — there is no recycle bin in Linux.
Press Ctrl + C to cancel a running command.
Next Steps
Get comfortable with the terminal. The more time you spend there the more natural it becomes.