LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-23-2006, 10:06 PM   #1
green_njk
LQ Newbie
 
Registered: Dec 2005
Posts: 20

Rep: Reputation: 0
Is there any specific command for clear cache in bash terminal?


This is the situation. I opened one bash terminal. In that terminal i typed one command. After that i typed another command. If I click up arrow or down arrow, it shows those command. I dont want those commands display again. Is there any specific command for erase those commands in terminal. clear command just clear the terminal. But If i click up arrow those commands shown in terminal.
 
Old 11-23-2006, 10:18 PM   #2
charle97
Member
 
Registered: Nov 2006
Location: hawaii, usa
Distribution: slackware 14
Posts: 80

Rep: Reputation: 16
take control of your bash_history

Last edited by charle97; 11-23-2006 at 10:19 PM.
 
Old 11-23-2006, 10:22 PM   #3
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 75
$ export HISTSIZE=0
$ export HISTFILESIZE=0

Should do the trick.
 
  


Reply


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 to clear apt-cache coyopil Debian 6 01-29-2014 12:15 AM
how do you clear the cache? eagletalontim Linux - Newbie 11 01-11-2006 03:05 PM
clear or disable file cache acristescu Linux - General 3 11-04-2005 10:25 AM
how to reload sbp2 module /Flush terminal command cache Lakota Mandriva 1 12-07-2004 02:08 PM
Clear cache raysr Linux - Newbie 2 03-26-2004 01:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:29 AM.

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