Börjat på labb 5

This commit is contained in:
Jack-Benny Persson 2013-12-13 23:34:07 +01:00
parent 9283ee5940
commit 3ee091887f

12
Labb5/test_while.sh Executable file
View File

@ -0,0 +1,12 @@
#!/bin/bash
# Jack-Benny Persson
# LX13
# Just a small test of while loops
while read -p "Enter password: " Pass
do
if [ "$Pass" = "secret" ]; then
break
fi
done