18 lines
492 B
Bash
18 lines
492 B
Bash
|
#!/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.
|