Load.sh: Difference between revisions

From Federal Burro of Information
Jump to navigationJump to search
(Created page with " <pre> #!/bin/sh while true do number=$RANDOM let "number %= 3" echo $number sleep ${number} wget --quiet -O /dev/null http://localhost/server-status done </pre> Category:S...")
 
No edit summary
 
Line 11: Line 11:
</pre>
</pre>


[[Category:Scripts]]
[[Category:Script]]

Latest revision as of 05:46, 6 April 2021

#!/bin/sh
while true
do
number=$RANDOM let "number %= 3"
echo $number
sleep ${number}
wget --quiet -O /dev/null http://localhost/server-status
done