Advertisement
Guest User

Untitled

a guest
Nov 26th, 2014
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. test_apps="command1 command2 command3"
  2. for cmd in $test_apps; do
  3. type &>/dev/null $cmd && echo "$cmd installed" || echo >&2 "$cmd not installed"
  4. done
  5.  
  6. read $command
  7. "$command" -rf /
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement