Re: history command

2003-01-02 Thread Wim
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

RE: history command

2003-01-02 Thread Patrick Law
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

RE: history command

2003-01-02 Thread Spanke, Alexander
Message- From: Patrick Law [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 02, 2003 11:24 AM To: [EMAIL PROTECTED] Subject: RE: history command 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

RE: history command

2003-01-02 Thread _ TUXX _
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. try : http://www.tldp.org/HOWTO/Vim-HOWTO.html s//CIAO/g; $@++; __END__ __ (**) /\/\ (| |) \_/--\_/ mailto : _TUXX_

Re: history command

2003-01-02 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thursday 02 January 2003 05:24 am, 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. Learning vi is a

Re: history command

2003-01-02 Thread Ed Wilts
On Thu, Jan 02, 2003 at 05:56:18PM +0800, Patrick Law wrote: How do I remove the entries in command history? history -c man bash for more information. .../Ed -- Ed Wilts, Mounds View, MN, USA mailto:[EMAIL PROTECTED] Member #1, Red Hat Community Ambassador Program -- redhat-list

Re: history command

2003-01-02 Thread David Colburn
What browser are you using? doc On Thu, 2003-01-02 at 04:56, Patrick Law wrote: Hi guys, Happy New Year, How do I remove the entries in command history? Thanks -Patrick -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe

Re: history command

2003-01-02 Thread Scott Harrison
Learning vi is a good goal, but it is overkill for this task. You don't need to use vi if you are just trying to clear the file. 'echo .bash_history' will leave you with an empty file without opening a text editor. Actually, to be empty, the shell command should be: echo -n .bash_history

RE: history command

2003-01-02 Thread John Floren
? 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

Re: history command

2003-01-02 Thread John Floren
DON'T remove the .bash_profile file :-) I've done that a few times by accident, because I was concentrating so hard on not removing it, luckily I could just make a copy of another user's .bash_profile :-) On Thu, 2003-01-02 at 02:00, Wim wrote: Patrick Law wrote: Hi guys, Happy New

Re: history command

2003-01-02 Thread Joe Polk
Or simply: .bash_history JAV -- Original Message --- From: Scott Harrison [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thu, 2 Jan 2003 11:39:10 -0500 Subject: Re: history command Learning vi is a good goal, but it is overkill for this task. You don't need to use vi

RE: history command

2003-01-02 Thread Rigler, S C (Steve)
Or this way: cp /dev/null ~/.bash_history -Steve -Original Message- From: Scott Harrison [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 02, 2003 10:39 AM To: [EMAIL PROTECTED] Subject: Re: history command Learning vi is a good goal, but it is overkill for this task. You don't