BASH script writting

It’s been decades since I’ve had to write a BASH script to do something, so I asked one of my programmers to write one for that, that would list a directory over and over again, every 15 seconds.

This is it:

while true; do ls -l; sleep 15; done

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.