Master Linux fundamentals with hands-on labs aligned with official certification objectives. These labs cover command line, file management, user administration, and system monitoring.
Begin your Linux journey with fundamental skills: command line, file management, users & permissions, and system monitoring.
-l shows long format (permissions, owner, size, date)-a shows hidden files (starting with a dot)d = directory, - = file
ls -la is the same as ls -l -a. The order doesn't matter!pwd to see where you are. Type help to see all available commands.-p flag creates parent directories as needed. Without it, you'd get an error if the parent doesn't exist.projects/ → webapp/ → src/, docs/, tests/-R lists recursively so you can see the full tree
-p with mkdir when creating nested paths. It prevents errors and is safe to run again.touch creates empty files (or updates timestamp if exists)cp copies files — original stays, copy is createdmv moves files — original is gone, appears in new locationtab key to autocomplete paths. Check the GUI file browser panel to see your changes live!mv overwrites without warning if destination file exists. In production, use mv -i for interactive prompts!-z compresses with gzip. Think of it as creating a .zip file in Linux.-c = create new archive-z = compress with gzip-v = verbose (show files being archived)-f = specify filename
tar -xzvf to extract, tar -tzvf to list contents!|), you can chain commands to filter and process data — this is the power of Linux!|) sends the output of one command as input to another. Redirect (>) sends output to a file instead of the screen.rm is permanent in Linux — there is no recycle bin! In production, use rm -i for confirmation prompts.sudo runs commands as root (administrator). User/group management always requires root privileges.-m creates a home directory (/home/username)-G assigns supplementary groups-s sets the login shell-m to create a home directory. Without it, the user has no personal space for files and settings!passwd command sets or changes user passwords. Passwords are stored encrypted in /etc/shadow (never in plain text!).7 = rwx (read+write+execute) for owner (root)7 = rwx for group (developers)0 = no access for others
id command is the fastest way to check user group membership. It shows UID, GID, and all groups.aux flags show ALL processes with details. Think of it as Task Manager in Windows.-h = human-readable (GB/MB instead of bytes)df = disk free (filesystem-level view, shows mount points)du = disk usage (directory-level, shows folder sizes)
dmesg shows kernel ring buffer (hardware, drivers). /var/log/syslog shows application and system service messages.ip addr show replaced the older ifconfig command. Look for inet lines showing IPv4 addresses.-t = TCP, -u = UDP-l = listening ports, -n = show port numbers (not names)