Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-20-2004, 03:59 PM   #1
Registered: Jan 2004
Posts: 49

Rep: Reputation: 15
How to clear cached commands

I am wondering how you clear the cached commands. Like when you type the up arrow or down arrow you get the last command used. How do you clear those???
Old 01-20-2004, 04:35 PM   #2
Registered: Nov 2003
Location: Ronneby, Sweden
Posts: 555

Rep: Reputation: 30
In bash:
history -c



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how do i replace the clear "clear screen" with the cls command thefedexguy SUSE / openSUSE 2 12-02-2005 06:02 PM
excluding url cached by squid ilnli Linux - Software 1 11-02-2005 05:03 AM
Increasing the amount of cached memory balteo Linux - General 1 09-16-2005 05:06 PM
Increased cached and swap used pbrugnone Linux - General 3 10-16-2004 06:14 AM
is there a file where dnsmasq stores its cached dns? kublador Linux - Software 0 09-04-2004 08:01 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:32 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration