---
title: "#if-else-in-bash-script articles | Hashnode"
description: "Explore 2 articles tagged #if-else-in-bash-script on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/if-else-in-bash-script"
---

Tag

# #if-else-in-bash-script

2 posts · 0 followers

[Isha Jain](https://hashnode.com/@whizzx) · [May 17, 2025](https://hashnode.com/posts/getting-started-with-if-else-and-exit-status/68288ff6a91868de3f658f04)

### [Getting Started with If-Else and Exit Status](https://whizzx.hashnode.dev/getting-started-with-if-else-and-exit-status?utm_source=hashnode&utm_medium=feed)

Exit Codes Every command we run on bash script return an exit status/ return codes. These range from 0 to 255 with 0 being SUCCESS. Codes other than 0 are error codes. To find the meaning of exit status we can use “man” or “info”. $? is used to che...

2 min read · [whizzx.hashnode.dev](https://whizzx.hashnode.dev/getting-started-with-if-else-and-exit-status?utm_source=hashnode&utm_medium=feed)

[Irfan S Momin](https://hashnode.com/@IrfanMomin) · [Nov 7, 2023](https://hashnode.com/posts/day-05-advanced-linux-shell-scripting-for-devops-engineers-with-user-management/6549f596139ee91a8bb19e7c)

### [Day-05 Advanced Linux Shell Scripting for DevOps Engineers with User management](https://irfans.hashnode.dev/day-05-advanced-linux-shell-scripting-for-devops-engineers-with-user-management?utm_source=hashnode&utm_medium=feed)

Tasks So Write a bash script create directories.sh that when the script is executed with three given arguments (one is the directory name, second is the start number of directories and third is the end number of directories ) it creates a specified ...

4 min read · [irfans.hashnode.dev](https://irfans.hashnode.dev/day-05-advanced-linux-shell-scripting-for-devops-engineers-with-user-management?utm_source=hashnode&utm_medium=feed)
