So , i have move the original "cat" command from "/bin" and replaced it with this script so whenever any one uses it logs
But my problem is whenver any user uses as
1) cat sample.txt or cat 1.txt 2.txt , it will log properly
2) cat sample.txt > /tmp/temp.txt , for this only command and arguments are logged but redirection and redirection path is not logged so is there any way to log that path also.
Looking forward your reply as it is urgent. Thanks in Advance