How To Script Error Free Bash If Statement?

Learn how to script a Bash If statement with the then, else, and else if / elif clauses. Includes Bash conditional expressions and common pitfalls to avoid.

ifupdated Sep 202024 examples

What is the Bash Null Command?

Learn about the Bash null command, also known as the POSIX shell colon command. This post cover concrete use cases and pitfalls to avoid.

set -oupdated Sep 202012 examples

How and When to Use the Dot Command in Bash?

Learn the difference between the dot command (.) and a dot file notation. This post cover how and when you should leverage the dot command to execute a Bash script.

.: .updated Sep 20204 examples