[OT] Re: [Ilugc] linux command mode- reg

  • From: mssnlayam@xxxxxxxx (Suriya Narayanan M S)
  • Date: Sun Jan 2 13:37:25 2005

On Sun, Jan 02, 2005 at 01:08:15PM +0530, Sridhar R wrote:


I mean delete .bash_history when closing the session (shell), so that
you do not miss the history feature and also gain some privacy.


I guess, doing an
$ rm -f ~/.bash_history

and then logging out is not going to work, because the file is going to get
created again when the shell exists.

By the way, if the system administrator wants to know what a user is doing,
(s)he just has to add a few lines of code to the kernel and log the execve
system call.

Suriya

Other related posts: