Re: clear history in the terminal

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



El Miércoles, 10 de Mayo de 2006 14:41, alan escribió:
> On Wed, 10 May 2006, Dennis Castanos wrote:
> > I hope this isn't a stupid question!
> >  Can the history commands in the terminal be cleared? If so, how is it
> > done?
>
> rm ~/.bash_history

That will delete the previous history file, but if you use the arrow keys, 
you still will have the history record in memory... so when you log out the 
file will be made again (correct me if I'm wrong... but that happens to me 
with bash+konsole at least)

I suggest this:

export HISTSIZE=0

-- 
Mauricio Vergara Ereche                   User #188365 counter.li.org
NIC Chile                                         mave [@] nic [.] cl
Agustinas 1357 Piso 4, Santiago CHILE                   +56 2 9407721
Codigo Postal: 834-0432                             http://www.nic.cl

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux