At the shell just type "rm .bash_history"
Easy.  bash will create a new file for history.

On Thu, 2003-01-02 at 02:24, Patrick Law wrote:
> Hie again...
> 
> How to do a select-all in vi?
> I want to select all then remove entries in .bash_history.
> Can anyone recommend any site or reference for vi? 
> Thanks a lot.
> 
> -Patrick
> 
> 
> -----Original Message-----
> From: Wim [mailto:[EMAIL PROTECTED]] 
> Sent: Thursday, January 02, 2003 6:01 PM
> To: [EMAIL PROTECTED]
> Subject: Re: history command
> 
> 
> 
> Patrick Law wrote:
> 
> > Hi guys, Happy New Year,
> >
> 
> Same to you!
> 
> >  
> >
> > How do I remove the entries in command history?
> >
> clear the file .bash_history (in your home directory) should to the trick.
> to find it type : ls -la .bash_history
> 
> >
> > Thanks
> >
> >  
> >
> >  
> >
> > -Patrick
> >
> 
> 
> 
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
> https://listman.redhat.com/mailman/listinfo/redhat-list
> 
> 
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
> https://listman.redhat.com/mailman/listinfo/redhat-list
> 
> 
-- 
Things to say to those who cannot speak Latin,
 but insist upon inserting it into their every conversation:

"Veni, Vedi, Deleti" (I came, I saw, I deleted your files)

"Fac ut vivas" (Get a life)

"Catapultam habeo.  Nisi pecuniam omnem mihi dabris, ad caput tuum
 saxum immane mittam" 
(I have a catapult.  Give me all of your money, or I will fling 
an enourmous rock at your head)

"Braccae tuae aperiuntur" (Your fly is open)



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to