Is there a way to get ls to listen for changes and update output similar to tail -f?

Published: 11/01/2019
Is there a way to get ls to listen for changes and update output similar to tail -f?
Source: UNIX.STACKEXCHANGE.COM

I have a process that creates many files in a known directory, and the only way to tell how far along it is is to type ls manually. Is there a way to make the output of ls update automatically as new files are created, similar to how tail -f works? Because of their names, every new file appears at the end of the list, so I wouldn't have to worry about them appearing in the middle.

Read more
Related news
Comment
FACEBOOK