« dos2unix / unix2dos | Main | Ubuntu Linux 6.10 on the Panasonic Toughbook CF-18 Tablet PC »


Doing something in bash multiple times

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.


Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

All spam will be reported

About

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.

Creative Commons License
This weblog is licensed under a Creative Commons License.
Powered by
Movable Type 3.36

Valid XHTML 1.0!