On Wed, 30 Oct 2002, Ramesh Pathak wrote:

> Good Question .. In fact I wud also love to know how to do this ...
>
> 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

cat < /dev/null > .bash_history

will overwrite the file with /dev/null

but this isn't really a redhat specific question...






-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to