All-
I have a quick BASH scripting questions. Lets say I want to run the following commands X number of times:
ls -la /test
stat /test/file.test
whois bob
cat /test/file.test >> /tmp/testme
ect
How can I loop this is a BASH shell?
--- You must not fight too often with one enemy, or you will teach him all your tricks of war.
I have a quick BASH scripting questions. Lets say I want to run the following commands X number of times:
ls -la /test
stat /test/file.test
whois bob
cat /test/file.test >> /tmp/testme
ect
How can I loop this is a BASH shell?
--- You must not fight too often with one enemy, or you will teach him all your tricks of war.