We have a common testing environment on AIX for all 15-20 persons. There might be chances that somebody deleted the files mistakenly. In such scenarios, it is very difficult to know who deleted files from a specific location. I would like to generate a report for that same so that we can trace it. In fact, I am looking for following information : < ExecutedCmd>
How can we do that by using shell script ? Please suggest.
grep -i "<executedcmd>" /home/*/.bash_history