Skip to main content

Bash

Bash scripting, shell fundamentals, automation patterns, and common pitfalls.

Oct 29, 2026 • 7 min read

type Command in Linux: Show Command Type and Location

Oct 29, 2026 • 10 min read

pushd and popd Commands in Linux: Navigate Directories with a Stack

Oct 21, 2026 • 9 min read • series

How to Compare Strings in Bash

Oct 16, 2026 • 10 min read • series

Bash Heredoc: Complete Guide with Examples

Oct 16, 2026 • 11 min read • series

Bash Functions

Oct 12, 2026 • 9 min read • series

Bash Comparison Operators: Equal, Not Equal, Greater Than

Oct 11, 2026 • 11 min read • series

Bash Strict Mode: set -euo pipefail Explained

Oct 10, 2026 • 12 min read • series

Bash if, elif, and else Statements: Syntax and Examples

Oct 7, 2026 • 10 min read • series

Bash Pattern Matching: =~ Operator and Regular Expressions

Sep 30, 2026 • 7 min read

What Is /dev/null in Linux

Sep 20, 2026 • 7 min read • series

How to Increment and Decrement a Variable in Bash: Counter Examples

Sep 19, 2026 • 8 min read • series

How to Pass Arguments to a Bash Script

Sep 16, 2026 • 8 min read • series

Bash while Loop: Syntax and Examples

Sep 14, 2026 • 5 min read

pwd Command in Linux: Print the Current Working Directory

Sep 9, 2026 • 10 min read • series

Bash For Loop: Syntax and Examples

Sep 5, 2026 • 8 min read • series

Bash source Command: Load Scripts and Variables

Aug 31, 2026 • 10 min read

What Is .bashrc? When It Runs and What to Put in It