To loop over a list of line do this:
|
1 |
ls -al | while IFS= read -r line ; do echo $line; done |
To loop over a list of line do this:
|
1 |
ls -al | while IFS= read -r line ; do echo $line; done |
Talk with a senior engineer for practical recommendations—no obligation.
Reliable Penguin provides managed web hosting, systems administration, website and server migrations, and expert consulting.
Submit the form—or for immediate service call 866-649-7984.