From the notes of a system administrator
My Sysadmin notes and a few other topics
Thursday, May 24, 2007
for loop
I often get confused with the for loop
its always the ` and not the ' . For eg
for i in `ls *.log.*`; do gzip $i; done
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment