Tyleo-Dev-ShellScripting-Ol.../SH/echoperma.sh

18 lines
492 B
Bash
Raw Permalink Normal View History

2024-02-18 21:29:57 +00:00
#!/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.