Advertisement
Max13

Test Script

May 2nd, 2012
575
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.15 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. echo "Test script"
  4.  
  5. if [ $USER == "root" ]; then
  6.     echo "You are root"
  7. else
  8.     echo "You're not root"
  9. fi
  10.  
  11. echo "End test"
  12. exit 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement