---
title: "#shell-script-if-statement-if-then-if-then-else-if-elif-else articles | Hashnode"
description: "Explore 3 articles tagged #shell-script-if-statement-if-then-if-then-else-if-elif-else on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/shell-script-if-statement-if-then-if-then-else-if-elif-else"
---

Tag

# #shell-script-if-statement-if-then-if-then-else-if-elif-else

3 posts · 0 followers

[Aditya Dev Shrivastava](https://hashnode.com/@AdityaDevBlog) · [Feb 24, 2025](https://hashnode.com/posts/linux-training-section-6/67bc760b3d6521ce671bff3c)

### [Linux Training : Section 6](https://adityadevblog.hashnode.dev/linux-training-section-6?utm_source=hashnode&utm_medium=feed)

Module 6 - Shell Scripting

5 min read · [adityadevblog.hashnode.dev](https://adityadevblog.hashnode.dev/linux-training-section-6?utm_source=hashnode&utm_medium=feed)

[Irfan S Momin](https://hashnode.com/@IrfanMomin) · [Oct 26, 2023](https://hashnode.com/posts/day-04-basic-linux-shell-scripting-for-devops/653a5e897addd21986109793)

### [Day-04 Basic Linux Shell Scripting for DevOps](https://irfans.hashnode.dev/day-04-basic-linux-shell-scripting-for-devops?utm_source=hashnode&utm_medium=feed)

What is Shell Scripting for DevOps? Shell scripting is a fundamental skill in DevOps, which is a set of practices that combine software development (Dev) and IT operations (Ops) to automate and streamline various aspects of the software development a...

3 min read · [irfans.hashnode.dev](https://irfans.hashnode.dev/day-04-basic-linux-shell-scripting-for-devops?utm_source=hashnode&utm_medium=feed)

[Sundar blog](https://hashnode.com/@sundarvel) · [Jul 4, 2023](https://hashnode.com/posts/shell-script-if-statement-if-then-if-then-else-if-elif-else/64a42e5a93f28b73278105ca)

### [shell script If Statement ( If then , If then else, If elif else)](https://sundarpalanivel.hashnode.dev/shell-script-if-statement-if-then-if-then-else-if-elif-else?utm_source=hashnode&utm_medium=feed)

Model 1 #!/usr/bin/bash count=10 if \[ $count -eq 10 \] then echo "Condition True" fi Model 2 #!/usr/bin/bash count=10 if \[ $count -ne 0 \] then echo "Condition True" fi Model 3 #!/usr/bin/bash count=10 if \[ $count > 0 \] then echo "Condition True" fi Mo...

1 min read · [sundarpalanivel.hashnode.dev](https://sundarpalanivel.hashnode.dev/shell-script-if-statement-if-then-if-then-else-if-elif-else?utm_source=hashnode&utm_medium=feed)
