Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- path="/home/forge/pm2020/public"
- if [ -d "$path" ]
- then
- echo "Directory $path exists."
- else
- echo "Error: Directory $path does not exists."
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement