Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- for fname in file1 file2 file3 file4 file5
- do
- if [ -e "$fname" ]
- then
- printf "%s exists!" "$fname"
- fi
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement