unixowe-systemy-operacyjne/firstscripts/ping.sh

17 lines
165 B
Bash
Raw Normal View History

while true
do
read userinput
if [ $userinput = "ping" ]
then
echo "pong"
elif [ $userinput = "exit" ]
then
break
else
echo "Nie umiesz grać"
fi
done