As was foretold, we've added advertisements to the forums! If you have questions, or if you encounter any bugs, please visit this thread: https://forums.penny-arcade.com/discussion/240191/forum-advertisement-faq-and-reports-thread/
Options

simple shell script, ls while loop, can't use a file

MadpandaMadpanda suburbs west of chicagoRegistered User regular
edited May 2012 in Help / Advice Forum
Trying to create a simple shell script which will do something like

while 1 (i want to create an infinite loop until broken out of)
ls -ltr filename*
sleep 100

I need to run this from a linux command line and can't read from a file. I thought there was a way to do this but I haven't been able to get it working.

camo_sig2.png
Steam/PSN/XBL/Minecraft / LoL / - Benevicious | WoW - Duckwood - Rajhek
Madpanda on
This discussion has been closed.