Skip to content

Commit

Permalink
Exit
Browse files Browse the repository at this point in the history
  • Loading branch information
Prateek Bhaisora authored and Prateek Bhaisora committed Jan 24, 2024
1 parent beb4595 commit 54562bd
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions 29_exit.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash

# To access the arguements

if [[ $# -eq 0 ]]
then
echo "No Arguement Provided!"
exit 1
fi

echo "Number of arguements passed are: $#"

0 comments on commit 54562bd

Please sign in to comment.