Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • Thank you for your response! Is there any other way to log all the command executed by any user instead of getting from .bash_history? Commented Jun 16, 2017 at 9:39
  • @SouravMaity, depends on what you need to use the log for. Is it security-related loogging (accounting), where you need to consider a hostile user trying to evade it, or are you just doing it "for yourself". What other requirements are there. You may want to post another question about that. Commented Jun 16, 2017 at 11:37