Command to check that a directory changes



Hi all,

I´m making a bash script and I need to know when a new file appears in a
directory.

anybody knows if is there a command that to that or i need to use a
commbination of some commands (ls, wc, sleep, cron...)

Thanks in advance

ESG
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list