Re: clear history in the terminal

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

 



At 11:50 AM -0700 5/10/06, Don Russell wrote:
>On 5/10/2006 11:22 AM, Scot L. Harris wrote:
>> On Wed, 2006-05-10 at 10:20 -0700, 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?
>>> Dennis
>>>
>>
>> history -c
>
>While we're on the subject, can history *not* record a command if it is
>identical to the previous command?
>
>It's great being able to recall past commands.... but sometimes I use
>the same command multiple times before wanting to go back to some
>different one. Is it it useful to know "this command was entered 5 times
>in a row? I think it's more useful to just use as a "recall previous
>(different) command...
>
>Is this an RFE sort of thing? I'll gladly create a rfe/bug ...

It's more of a RTFM sort of thing.  It's all in man bash; search for
"history".  Look at HISTCONTROL.
____________________________________________________________________
TonyN.:'                       <mailto:tonynelson@xxxxxxxxxxxxxxxxx>
      '                              <http://www.georgeanelson.com/>

-- 
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