Guest User

Untitled

a guest
Dec 14th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. #!/bin/sh
  2. echo "Please enter a password containing numbers and letters"
  3. read password
  4.  
  5. if [[password =~ [0-9] ]]
  6. then
  7. echo "Successful"
  8. else
  9. echo "Fail"
  10. fi
Add Comment
Please, Sign In to add comment