SHIFT

--- Sjoerd Hooft's InFormation Technology ---

User Tools

Site Tools


scriptbashwhile
Differences

This shows you the differences between two versions of the page.

Link to this comparison view

scriptbashwhile [2013/05/18 09:27] (current)
sjoerd created
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>​
 +
 +<​code>​
 +while true; do ll; sleep 10; done
 +</​code>​
 +
 +{{tag>​scripts}} ​
scriptbashwhile.txt ยท Last modified: 2013/05/18 09:27 by sjoerd