Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- if type $1 >/dev/null 2&>1;
- then
- echo "Command was found"; exit 1;
- else
- echo "command was not found"; exit 1;
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement