Advertisement
v1ral_ITS

verify sh example

Aug 25th, 2018
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.13 KB | None | 0 0
  1. #!/bin/bash
  2. read -p "Enter a password: " pass
  3. if test "$pass" = "rachel831"
  4. then
  5. echo "Password verified."
  6. else
  7. echo "Access denied."
  8. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement