Posts
Linux Basics: Creating Symbolic Links
A symbolic link is a separate filesystem entry that stores a path to another file or directory. It gives you another name for reaching the target without copying its contents. …
October 6, 2026
Linux Basics: Comparing Files with diff and cmp
Before replacing a text file, it helps to see what changed. On Debian and Ubuntu, diff compares files line by line, while cmp compares their bytes. Prepare two versions Run mktemp …
October 6, 2026
Linux Basics: Checking System Information
Before troubleshooting a Linux machine, check which distribution and kernel it is running. These read-only commands work on Debian and Ubuntu and do not require sudo. Identify the …
October 6, 2026
Linux Basics: Using Environment Variables
Environment variables pass named values to programs. On Debian and Ubuntu, Bash also has shell variables, which stay in the current shell unless you export them. Read existing …
October 5, 2026
Linux Basics: Pipes and Output Redirection
Commands normally print their results in the terminal. In Bash on Debian and Ubuntu, redirection saves those results to a file, while a pipe sends them to another command. Save and …
October 5, 2026
Linux Basics: Finding Files with find
When you remember a filename but not its location, find can search a directory and its subdirectories. These examples use GNU find on Debian and Ubuntu. Prepare a small directory …
October 5, 2026
Linux Basics: Creating and Extracting tar Archives
A .tar.gz file bundles files and directories into one gzip-compressed archive. Debian and Ubuntu provide tar for creating, listing, and extracting these archives. Create an archive …
October 5, 2026
Linux Basics: Checking Running Processes
A process is a running instance of a program. Debian and Ubuntu provide ps for a snapshot of processes and top for a continuously updated view. List your processes ps -u "$(id -u)" …
October 5, 2026
Linux Basics: Reading and Searching Text Files
You can inspect a text file on Debian or Ubuntu without opening an editor. Start with a small practice file, then use the same commands on larger files. Create sample text Run …
October 4, 2026
Linux Basics: Moving Around the Terminal
Open a terminal on Debian or Ubuntu. Each command runs in a working directory, which is simply the folder you are currently in. Start by finding it. Check your location pwd ls ls …
October 4, 2026