As simple as export HISTFILE=/dev/null rm /root/.bash_history
Words by Ramesh Pathak [Wed, Oct 30, 2002 at 03:38:28PM +0530]: > > > Good Question .. In fact I wud also love to know how to do this ... > > > > > > > > > "Roger" <[EMAIL PROTECTED]> on 10/30/2002 03:17:46 PM > > Please respond to [EMAIL PROTECTED] > > > > To: [EMAIL PROTECTED] > > cc: (bcc: Ramesh Pathak/Satyam) > > > > Subject Re: How to delete bash history of root > : > > > > > > > > > if without logout how to do? > ----- Original Message ----- > From: "Emmanuel Seyman" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, October 30, 2002 5:41 PM > Subject: Re: How to delete bash history of root > > > On Wed, Oct 30, 2002 at 05:15:23PM +0800, Roger wrote: > > > > My question is the same as the subject, how to delete the bash history of > > root. any suggestion is appreciated > > Logout > Login and run the command "rm .bash_history" > Logout > > Emmanuel > > > > -- > redhat-list mailing list > unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe > https://listman.redhat.com/mailman/listinfo/redhat-list > > > > -- > redhat-list mailing list > unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe > https://listman.redhat.com/mailman/listinfo/redhat-list > > > > > > -- > redhat-list mailing list > unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe > https://listman.redhat.com/mailman/listinfo/redhat-list -- Jose Celestino || SysAdmin::SAPO.pt http://www.sapo.pt http://xpto.org/~japc ----------------------------------------------------- "Lately, the only thing keeping me from becoming a serial killer is my distaste for manual labor." -- Dilbert -- redhat-list mailing list unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list