Here is another useful snippet for bash - doing something a number of times. The for loop again:
for (( i=0; i<100; i++ )); do echo $i; done
Found this useful? Then Digg It.
« dos2unix / unix2dos | Main | Ubuntu Linux 6.10 on the Panasonic Toughbook CF-18 Tablet PC »
Here is another useful snippet for bash - doing something a number of times. The for loop again:
for (( i=0; i<100; i++ )); do echo $i; done
Found this useful? Then Digg It.
This page contains a single entry from the blog posted on December 19, 2006 10:23 AM.
The previous post in this blog was dos2unix / unix2dos.
The next post in this blog is Ubuntu Linux 6.10 on the Panasonic Toughbook CF-18 Tablet PC.
Many more can be found on the main index page or by looking through the archives.