---
title: "Discussion on \"Day 11 : Error Handling in Shell Scripting\" | Hashnode"
description: "Discussion on \"Day 11 : Error Handling in Shell Scripting\". Use exit statuses, if statements, traps, error redirection, and custom error messages for effective error handling in Bash scripts"
url: "https://hashnode.com/posts/day-11-error-handling-in-shell-scripting/6691f30d7d9380d7318f819d"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Day 11 : Error Handling in Shell Scripting](https://priyadarshi.hashnode.dev/day-11-error-handling-in-shell-scripting?utm_source=hashnode&utm_medium=feed)

Use exit statuses, if statements, traps, error redirection, and custom error messages for effective error handling in Bash scripts

Jul 13, 2024 · 3 min read · priyadarshi.hashnode.dev  
Read the article

-   [#90daysofdevops](https://hashnode.com/tag/90daysofdevops)
-   [#90daysofdevops-chanllenge](https://hashnode.com/tag/90daysofdevops-chanllenge)
-   [#tws](https://hashnode.com/tag/tws)
-   [#devops](https://hashnode.com/tag/devops)
-   [#devops-articles](https://hashnode.com/tag/devops-articles)
-   [#shell-script](https://hashnode.com/tag/shell-script)
-   [#linux](https://hashnode.com/tag/linux)
-   [#ubuntu](https://hashnode.com/tag/ubuntu)

## Written by

[priyadarshi ranjan](https://hashnode.com/@Darshi1108)

@Darshi1108 · India

  
[View profile](https://hashnode.com/@Darshi1108)

Empowering seamless software delivery through robust automation and efficient infrastructure management.

Greetings! 👋 I'm Priyadarshi Ranjan, a dedicated DevOps Engineer embarking on an enriching journey. Join me as I delve into the dynamic realms of cloud computing and DevOps through insightful blogs and updates. 🛠️ My focus? Harnessing AWS services, optimizing CI/CD pipelines, and mastering infrastructure as code. Whether you're peers, interns, or curious learners, let's thrive together in the vibrant DevOps ecosystem. 🌐 Connect with me for engaging discussions, shared insights, and mutual growth opportunities. Let's embrace the learning curve and excel in the dynamic realm of AWS and DevOps technology!

## Responses 1

Markdown supported · ⌘↵ to post

[Pratiksha Satpute](https://hashnode.com/@pratikshasatpute08)

[Jul 13, 2024](https://hashnode.com/posts/day-11-error-handling-in-shell-scripting/6691f30d7d9380d7318f819d/comment/66929ac0872e93f2c4585b54)

very helpful this notes

[priyadarshi ranjan](https://hashnode.com/@Darshi1108)

[Jul 13, 2024](https://hashnode.com/posts/day-11-error-handling-in-shell-scripting/6691f30d7d9380d7318f819d/comment/66929ac0872e93f2c4585b54#reply-66929bc3a255168286eaad8f)

thanku [Pratiksha Satpute](https://hashnode.com/@pratikshasatpute08)
