Skip to main content

Bash

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

Apr 29, 2026 6 min read series

Bash Positional Arguments: How to Use $1, $2, $@, and shift

Apr 24, 2026 6 min read series

How to Check if a File or Directory Exists in Bash

Apr 20, 2026 8 min read series

Bash Strict Mode: set -euo pipefail Explained

Apr 19, 2026 6 min read series

Bash Heredoc: Complete Guide with Examples

Apr 17, 2026 4 min read series

How to Use the Export Command in Linux

Apr 15, 2026 9 min read series

How to Set Environment Variables in Linux

Apr 4, 2026 6 min read series

Bash Functions

Apr 3, 2026 8 min read series

Bash if...else Statement

Mar 18, 2026 6 min read

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

Mar 17, 2026 8 min read series

Bash printf Command

Mar 17, 2026 7 min read series

Bash Comparison Operators

Mar 12, 2026 7 min read series

How to Read a File Line By Line in Bash

Mar 12, 2026 8 min read series

Bash read Command

Mar 10, 2026 6 min read series

Bash Range: Sequence Expression Syntax and Examples

Mar 8, 2026 5 min read series

Bash Comments: Single-Line, Multiline, and Best Practices

Mar 6, 2026 4 min read series

Bash until Loop

Mar 5, 2026 6 min read series

Bash case Statement: Match Patterns in Shell Scripts

Mar 2, 2026 4 min read

pwd Command in Linux: Print the Current Working Directory

Mar 2, 2026 8 min read series

Bash For Loop: Syntax and Examples

Mar 1, 2026 4 min read series

Bash String Concatenation: Combine Variables and Strings