clear history in the terminal

Filippos Klironomos presariod at gmail.com
Wed May 10 18:28:24 UTC 2006


First do a

history -c

and then a

history -w

to actually write everything on the .bash_history file (and overwrite it).
Then a

reset

clears the scroll buffer as well and all the past is forgotten and erased!

Filippos



On 5/10/06, Dennis Castanos <dennismouille at yahoo.com> wrote:
>
> I hope this isn't a stupid question!
> Can the history commands in the terminal be cleared? If so, how is it
> done?
> Dennis
>
> ------------------------------
> Yahoo! Messenger with Voice. Make PC-to-Phone Calls<http://us.rd.yahoo.com/mail_us/taglines/postman1/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com>to the US (and 30+ countries) for 2¢/min or less.
>
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20060510/8d408c84/attachment-0001.htm>


More information about the fedora-list mailing list