Yoshee08

Shell

Log All Bash Commands from All Users on Ubuntu

April 18, 2025 by yoshee08 Leave a Comment

You may want to log all commands run by a user in a shell. Even just for yourself, this can be helpful in going back to figure out what you did wrong, or what command you ran 2 months ago to get something to work. Edit /etc/bashrc: and add this line: Run the following to … [Read more…]

Posted in: Uncategorized Tagged: Log, Shell, Ubuntu

Recent Posts

  • Remove Biometrics and Pin, and Disable Password Login options
  • Log All Bash Commands from All Users on Ubuntu
  • Setup an SSH Key on Ubuntu with Ed25519 Encryption
  • Installing Wazuh’s MS-Graph API Integration – Transitioning from O365 Integration

Recent Comments

No comments to show.

Copyright © 2025 Yoshee08.

Omega WordPress Theme by ThemeHall