 |
HowTo: Use bash For Loop In One Line - nixCraft: Linux Tips, Hacks, Tutorials, And Ideas In Blog For
Explains how to use the Bash one-Liner in UNIX / Linux / BSD / Apple OS X command prompt. ... For the very rare case yout got file names with a leading dash: for i in *; do echo $i; done [ will not show files with leading dash ]
www.cyberciti.biz |
 |