Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- password="root";
- x=0;
- while [ $x -le 2 ] ; do
- read passwd
- if [ $password = $passwd ]
- then
- ls ../
- x=$[5]
- else
- echo "Bledne haslo"
- x=$[x + 1]
- fi
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement