Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash -e
- typeset -g FILE_PATH
- echo -n 'file name: '
- read FILE_PATH
- if [[ -e ${FILE_PATH} ]]; then
- echo "${FILE_PATH} exist"
- else
- echo "${FILE_PATH} don't exist"
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement