[svlug] "History Eraser Button" in bash?

Nathan Kuriger nkuriger at cosmoz.com
Wed May 3 17:32:49 PDT 2000


<sarcasm>
n@@@h d00d th at t5 n07 1337 3n0ugh7.. wh at 7 @b0u7! 

$ rm ~/.bash_history
$ ln /dev/null ~/.bash_history

n0w 7h at 7 1337!!
</sarcasm>

-----Original Message-----
From: svlug-admin at svlug2.svlug.org
[mailto:svlug-admin at svlug2.svlug.org]On Behalf Of kmself at ix.netcom.com
Sent: Wednesday, May 03, 2000 4:04 PM
To: svlug at svlug.org
Subject: Re: [svlug] "History Eraser Button" in bash?


On Wed, May 03, 2000 at 03:07:53PM -0700, Nathan Kuriger wrote:
> [nkuriger at jones nkuriger]$ history 
>  .
> .
>  .
>   979  cd httpd/
>   980  ls
>   981  pcio cgi-bin/
>   982  cd cgi-bin/
>   983  ls
>   984  pico mbtop.cgi
>   985  ls
>   986  pico test2.cgi 
>   987  ls
>   988  pioc index.cgi 
>   989  pico index.cgi 
>   990  ls
>   991  pico mailer.cgi 
>  .
> .
>  .
> 
> How can I clear/reset this in the bash shell?

After leaving your sign on the cracked box:

   $ cat /dev/null > ~/.bash_history

-- 
Karsten M. Self <kmself at ix.netcom.com>         http:/www.netcom.com/~kmself
    What part of "Gestalt" don't you understand?
    http://gestalt-system.sourceforge.net/
GPG fingerprint: F932 8B25 5FDD 2528 D595  DC61 3847 889F 55F2 B9B0






More information about the svlug mailing list