This shows you the differences between two versions of the page.
scriptbashwhile [2013/05/18 09:27] (current)
|Line 1:||Line 1:|
|+||= Script: Bash: While True - List Directory =|
|+||This is a small example of a while loop which lists the current directory every 10 seconds until you manually stop it with <CTRL-C>|
|+||while true; do ll; sleep 10; done|