Category: Linux

Linux Tutorial / Install and Update Packages with APT and DNF
Compare APT on Debian or Ubuntu with DNF on Rocky Linux for searching, installing, updating, and removing packages, including repository and transaction checks.

Linux Tutorial / Inspect, Pause, and Stop Processes
Inspect Linux processes with ps, top, and pgrep, then safely pause, resume, and terminate a practice process while distinguishing shell jobs from services.

Linux Tutorial / File Permissions and Safe sudo Use
Learn to read file and directory permissions, practice chmod safely, and understand when to use sudo and how to diagnose access errors.

Linux Tutorial / Understand Users, Groups, and File Ownership
Understand UIDs, GIDs, primary and supplementary groups, and file ownership, then inspect them safely with id, groups, getent, ls, and stat.

Linux Tutorial / How the Shell Runs Commands: ;, &&, ||, Aliases, and Environment Variables
Practice Bash command resolution, exit status, and execution operators, including pipelines, background jobs, and command grouping. Learn how aliases and environment variables differ and how a script preserves failures.

Linux Tutorial / Standard Input, Output, Redirection, and Pipes
Understand standard input, output, and error; practice file redirection and pipes; and learn why overwrite risk and redirection order matter.

Linux Tutorial / Compare Files with diff and cmp
Use diff and cmp to compare two files, read unified diff output, and distinguish a detected difference from an actual command error.

Linux Tutorial / Search and Process Text with grep, sort, uniq, cut, and wc
Practice searching, sorting, grouping, extracting, and counting text with grep, sort, uniq, cut, and wc, including reproducible output and key caveats.

Linux Tutorial / PID and PPID Explained: Find and Manage Processes
Read parent relationships through PID and PPID, and distinguish reparenting, zombies, PID namespaces, and number reuse. Inspect these details without terminating processes and choose the appropriate service-management method.

Linux Tutorial / Find Files and Commands with find, locate, which, and whereis
Compare find and locate for file searches, then use which, whereis, and Bash type to distinguish executable paths from shell command resolution.