I want to restrict the user to view the command line history of bash
. I'm able to do this through the steps mentioned in this StackOverflow question.
Now, as an admin, I need to know the list of commands/scripts a user executed. Is there any way I can achieve this task?