I am trying to use the watch command to see the latest file. It is showing the file but how do I switch to the latest one when an even newer file is created?
The files are pictures so I am opening them with an image viewer
here's what I tried
watch -n 0.1 ls /home/titan/mnt
but it doesn't work because I just need one file and basically the lastest file and store that file name and open it with an image viewer.