unixowe-systemy-operacyjne/ping.sh
2023-04-24 16:36:00 +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