The fileschanged utility is a FAM (File Alteration Monitor) client. From the command line it monitors sets of files and shows you when they change. You can use fileschanged in shell scripts to take action when monitored files become altered.