Tyleo-Dev-ShellScripting-Ol.../SH/echoperma.sh
2024-02-18 22:29:57 +01:00

17 lines
492 B
Bash
Executable file

#!/bin/sh
clear
echo "After this title, press CTRL+C to stop the script."
echo "This script is innofensive and has been created for"
echo "learning. See it by typing < cat [file] >"
echo " "
echo "Waiting 5 seconds"
sleep 5
# Start of script !
while true
do
echo "Perma Echo"
clear
done
# In this script, you can see an infinite loop without any sleep commands, That produce permanently
# same command and the command is in loop state. That can be usefull for doing anything infinitly.