Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #! /bin/sh
- [ -f ./*.txt ] || echo "Not found!"
- if ls ./*.txt > /dev/null
- then
- echo "File Exists"
- else
- echo "File Doesn't exists"
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement