Right now, I'm aware that for all commands typed into the console, the Ubuntu system logs it somewhere.
How can I disable logging of unix commands for all users?
Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.Sign up to join this community
Try putting this in your
This only works for shells which evaluate the systemwide profile like bash and sh, see bash manual. Not sure about other shells. Also, users need to logout and login again to make it work.
You can also disable history using command
set +o history
This would be per shell. To make it permanent put it in