Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- readarray -t lines < $1
- username=${lines[0]}
- password=${lines[1]}
- if [[ "$password" == "bao" ]]; then
- echo "ok"
- exit 0
- fi
- echo "not ok"
- exit 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement