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 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 > > > > > - -- > > - -Michael > > > > pgp key: http://www.tuxfan.homeip.net:8080/gpgkey.txt > > Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/ > > - -- > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.0.7 (GNU/Linux) > > > > iD8DBQE+FCEnn/07WoAb/SsRAoiVAKC6v1voLPpyoWpaHg6FMLII/oXbVACeLnBT > > 8tXv1AqhbHEn26CvGumuuVo= > > =+6D+ > > -----END PGP SIGNATURE----- > > > > > > > > -- > > redhat-list mailing list > > unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe > > https://listman.redhat.com/mailman/listinfo/redhat-list > > -- > Scott Harrison, [EMAIL PROTECTED] > > -- > redhat-list mailing list > unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe > https://listman.redhat.com/mailman/listinfo/redhat-list ------- End of Original Message ------- -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list