RE: stupid bash tricks (how to loop on the command line)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





> ... got the shell to do looping without creating a file. 

Just type it in...

bash-3.2$ i=0; while [ $i -lt 10 ]; do echo $i; i=`expr $i + 1`; done




<<winmail.dat>>


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux