Day 11 : Error Handling in Shell Scripting
Tasks:
Task 1: Checking Exit Status
Write a script that attempts to create a directory and checks if the command was successful. If not, print an error message.
Create a file:
vim create_dir.sh
Enter the script in file:
#!/bin/bash
# Create d...
belwalrakshita08.hashnode.dev2 min read