Log All Bash Commands from All Users on Ubuntu
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…]