|
Refresh ls list on screen (auto-refresh)?
I am looking for a way to issue a command or string of commands to repeatedly display new files that are written to the directory. I usually use ls -ltr to see the newest files at the bottom of the screen. I would like to automate this command to refresh what is displayed every second or so. Can this be done at the command line or in a .ksh script? I seem to have found a way to do this many years ago but I am returning to UNIX (HPUX) now and can't remember how this was done.
Thanks in advance!
|