Archive

Latest posts

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.

Bash — The eval Built-in

> **Learn what Bash’s `eval` really does, why it performs a second round of shell parsing, how it enables dynamic commands and variables, and why that same power can create serious security risks. Explore safer alternatives such as arrays, functions, and indirect expansion.**

Bash — The echo Built-in

Explore Bash’s echo built-in: print text and variables, control newlines, use escape sequences, handle quoting and special characters, and avoid common pitfalls. Plus, learn when printf is a better choice for precise and predictable output.

Bash — The `case` Conditional Statement

Learn how Bash’s case statement makes conditional branching cleaner and easier to read. Explore patterns, wildcards, multiple matches, defaults, and practical examples—and discover why case is often a better choice than a maze of if and elif.

Bash — The Built-in [[ ]] Conditional Expression

Discover Bash's powerful `[[ ]]` conditional expression: safer string and numeric comparisons, pattern matching, regular expressions, file tests, and logical operators—without the common pitfalls of `[ ]` and `test`

Bash !: Negating Command Results in Bash

Master the Bash ! operator to easily reverse exit statuses and trigger actions when a command fails. This quick guide breaks down how the logical NOT operator transforms success into failure (and vice versa) with practical scripting examples.

Bash: Getting Started with the Basic Concepts

Bash may look intimidating, but it is simply a program waiting for commands. Learn how Bash works, finds commands, handles files and patterns, and combines commands using pipes, redirection, variables, conditions, and more.

Recovering Lost Commits in Git: A Detailed Guide

Losing commits in Git can be a frustrating experience, but Git provides several ways to deal with it. Whether you've accidentally reset your branch, dropped a commit, or performed a hard reset, there are strategies to help you retrieve your lost commits.

I THINK I FOUND KEN BLOCK'S CAR IN CYBERPUNK 2077!

I think I just found Ken Block's legendary Hoonigan car in Cyberpunk 2077… While exploring Night City, I came across a car that looks way too familiar — and it immediately reminded me of Ken Block and his iconic Hoonicorn.

Undoing Changes in Git: Reset, Revert, and Checkout Explained

In Git, changes are a natural part of the development process. However, mistakes happen, and sometimes you may need to undo or manage those changes. Git provides several commands to help you navigate this process, including reset, revert, and checkout.