unixowe-systemy-operacyjne/firstscripts/ping.sh
2023-05-08 16:22:26 +02:00

17 lines
165 B
Bash
Executable File

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