Jump to content

Linux User History of Commands


Recommended Posts

It helps, sometimes, to know what the last commands issued from a user on a Linux box was. I found troubleshooting this is helpful or to to help learning and it's just sometimes good to know.

The easiest way I found is to issue the following command to identify what commands have been issued by a certain user on your linux operating system

sudo vim /home/USER_YOU_WANT_TO_VIEW/.bash_history

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...