Advertisement
Guest User

sup nigga

a guest
Jan 31st, 2015
232
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. #!/bin/bash
  2. if type $1 >/dev/null 2&>1;
  3. then
  4. echo "Command was found"; exit 1;
  5. else
  6. echo "command was not found"; exit 1;
  7. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement