Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #3.8
- if [ $# -gt 1 ]
- then
- echo Too many args
- else
- if [ -e $1 ]
- then
- echo `ls $1`
- else
- echo ERROR THE DIRECTORY DOES NOT EXIST
- fi
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement