Skip to main content

How to View Bash History Through WHM/cPanel Terminal and Ensure All Commands Are Logged

Comments

1 comment

  • cPRex Jurassic Moderator

    Hey there!  it's important to note that the /root/.bash_history file does not get updated in real-time - this means that in order for the file to update, you have to log in and start a new session.  This isn't a cPanel issue, but is how most Linux BASH history files are configured as far as I am aware.

    For anything else, you can type "history" on the command line to see the full list.

    0

Please sign in to leave a comment.