IT-Cena
Tuesday, March 20, 2012
One line for loop Linux command
Format : for i in {1..N} ; do <command>;done;
Eg :
for i in {1..100} ;
do sleep 2;echo `date`;
done;
1 comment:
Anonymous
June 26, 2013 at 2:59 AM
make sure you run this in
#!/bin/bash
Reply
Delete
Replies
Reply
Add comment
Load more...
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
make sure you run this in
ReplyDelete#!/bin/bash