1 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
Your Answer