Posts
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
Linux Basics: Managing Packages with apt
Debian and Ubuntu use apt to find and manage software packages. Start by checking a package’s details before installing it. Use a disposable Debian or Ubuntu VM for practice. …
October 4, 2026
Linux Basics: Creating, Copying, and Removing Files
These commands work on Debian and Ubuntu. Practice in a new temporary directory so the examples do not affect your existing files. Create a workspace mktemp -d The command prints a …
October 4, 2026
Linux Basics: Checking Services and Logs
On Debian and Ubuntu systems running systemd, systemctl shows service status and journalctl reads system logs. These checks are a useful starting point when a background service is …
October 4, 2026