[102382] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: Clear history

daemon@ATHENA.MIT.EDU (Jan Carlson)
Wed Dec 2 17:32:49 1998

Date: Wed, 02 Dec 1998 17:31:19 -0500
From: Jan Carlson <janc@iname.com>
To: redhat-list@redhat.com
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

Ronnie Thum wrote:

> Hi,
>
> What's the quickest way to clear the history list in .bash_history?
> I deleted the entries in that file but I still see it when I type
> 'history'. Why ?

Because it's in memory.
Log out of all consoles and nxterms, etc,
but one, and type:

exec sh
rm .bash_history


>
>
> TIA
>
> Rgds
> Ronnie
>
> --
>   PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
>                http://www.redhat.com http://archive.redhat.com
>          To unsubscribe: mail redhat-list-request@redhat.com with
>                        "unsubscribe" as the Subject.

--

Jan Carlson
janc@iname.com   Scarborough, Ontario, Canada
Mailed with Netscape 4.5 on Red Hat Linux 5.2




-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post