Skip to content

Posts

Linux Basics: Reusing Bash Command History

Bash can remember commands entered in an interactive terminal. History helps you reuse an earlier command. These examples assume Bash on Debian or Ubuntu with history enabled. List …

Read more →

October 6, 2026

Linux Basics: Getting Help for Commands

You do not need to memorize every Linux command option. Debian and Ubuntu include several ways to ask a program or the shell for help. These examples assume you are using Bash. …

Read more →

October 6, 2026

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. …

Read more →

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 …

Read more →

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 …

Read more →

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 …

Read more →

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 …

Read more →

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 …

Read more →

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 …

Read more →

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)" …

Read more →

October 5, 2026