jayce
asked Oct 28 2019
edited Oct 28 2019
Answer
Answer:
To Monitor the directory and sub-directory with a single command
Install inotify tool using the below command
yum install inotify-tools
then use the below command to monitor the specific directory recursively
inotifywait -m -r /tmp
linuxhelp
asked Oct 28 2019
How to monitor a directory and sub-directory using the inotify command
I need to monitor the directory and sub-directory with single command, what is the option to monitor the sub-directory?