Command HISTORY in linux.

Linux Add comments

history
history | less

#history

is the command to see all the commands enter by the terminal

it is stored in

/root/.bash_history file
for user root

and similarly for other users
in their home directory

keep in mind that smart user can delete history file or just link it back to /dev/null, a better way is to configure process and command auditing

http://niyashussain.com/2009/06/how-to-keep-a-detailed-audit-trail-of-what%E2%80%99s-being-done-on-your-linux-systems/




Leave a Reply

Wordpress Themes by Natty WP. Web Hosting
Images by our golf tips desEXign.