Find the answer to your Linux question:
Results 1 to 4 of 4
What is the command to clear out the cache in a command line? There's so many commands that I just want to clear it out every now and then. Thanks....
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie harner's Avatar
    Join Date
    Jun 2004
    Location
    PA, USA
    Posts
    209

    Clearing Command Line cache


    What is the command to clear out the cache in a command line? There's so many commands that I just want to clear it out every now and then.

    Thanks.
    I praise Webmin and PuTTy!
    Registered Linux User: 439431

  2. #2
    Linux User muha's Avatar
    Join Date
    Jan 2006
    Posts
    290
    You mean clear the *history* ?
    Code:
    history -c
    Clear the history file.
    Now what? You have Linux installed and running. The GUI is working fine, but you are getting tired of changing your desktop themes. You keep seeing this "terminal" thing. Don't worry, they'll show you what to do @
    <~ http://www.linuxcommand.org/ ~>

  3. #3
    Linux Newbie harner's Avatar
    Join Date
    Jun 2004
    Location
    PA, USA
    Posts
    209
    That is it! I could not remember that command for the life of me. Thanks!
    I praise Webmin and PuTTy!
    Registered Linux User: 439431

  4. #4
    Linux User muha's Avatar
    Join Date
    Jan 2006
    Posts
    290
    For that thankyou you recieve a free tip from muha
    Write that sort of stuff into a logfile you keep hanging around on your system.
    It basicly contains all the commands with commandline options you used and looked at, with one line saying what it does. When you're looking for something you can always refind it that way.
    Now what? You have Linux installed and running. The GUI is working fine, but you are getting tired of changing your desktop themes. You keep seeing this "terminal" thing. Don't worry, they'll show you what to do @
    <~ http://www.linuxcommand.org/ ~>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •