Linux

Linux

The command-line universe awaits! In this tag, we dive into the world of Linux, the open-source operating system that powers everything from your servers to your smart fridge. Whether you're tweaking configs, mastering Bash, or unleashing the power of the terminal, you’ll find tips, tricks, and tutorials to become a Linux guru. Embrace the penguin, and let’s hack the planet—one terminal command at a time!

Latest posts

Bash — Variables and Parameter Expansion

Learn how Bash variables work, from basic assignments and default values to advanced parameter expansion. Discover how to manipulate strings, extract substrings, replace text, change letter case, and use variables more effectively in your scripts.

Bash — The for Loop

Learn how Bash’s for loop automates repetitive tasks, from counting through numbers to processing files, arrays, and command-line arguments. Explore both loop styles, practical examples, and common pitfalls.

Bash — The declare Built-in

Learn how Bash’s declare built-in lets you control variable attributes, create arrays, define read-only or integer variables, export values, and inspect how Bash treats your variables.

Bash — The fg Built-in

Learn how Bash’s fg built-in brings background and suspended jobs back to the foreground. Discover how to use fg, bg, and jobs, understand job numbers, and manage running commands without restarting them.

Bash — The bg Built-in

Learn how Bash’s bg built-in lets you resume stopped jobs in the background without interrupting your terminal session. Discover how to use Ctrl+Z, bg, and jobs, understand job specifications, and learn when to use bg instead of fg or &.

Bash — The dirs Built-in

A concise excerpt for the `dirs` post: > Learn how Bash’s `dirs` built-in lets you inspect and manage the directory stack. Explore `-p`, `-l`, `-v`, and `-c`, select specific entries, combine options, and see how `dirs` works together with `pushd` and `popd`.

Bash — The do Keyword

Here’s a short excerpt for the post: > Learn how Bash uses the `do` keyword to mark the beginning of a loop body. Explore how `do` works with `for`, `while`, and `until`, how it pairs with `done`, and how to write clean, readable Bash loops.

Bash — The continue Built-in

Learn how Bash’s `continue` statement skips the rest of the current loop iteration without stopping the loop. Explore practical examples with `for`, `while`, and `until`, filtering files and data, nested loops, and the difference between `continue` and `break`.

Bash — The break Built-in

Learn how Bash’s break statement lets you exit for, while, until, and select loops, including nested loops. Explore break n, practical examples, and how break differs from continue, return, and exit.

Bash — The alias Built-in

Bash aliases let you turn long, frequently used commands into short, memorable shortcuts. Learn how alias works, how to create, inspect, remove, and persist aliases, and when a function or script is a better choice.