LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-26-2004, 11:55 AM   #1
dailyd
LQ Newbie
 
Registered: Feb 2004
Posts: 4

Rep: Reputation: 0
how do you clear the ...


Hi , within console you can use the up/down keys the see the previous commands like doskey within windows, is there a way to clear these ??

thanks in advance
 
Old 02-26-2004, 12:01 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
all of that is in the .bash_history file in your home folder ...
i never had to do this, or even think about this before ....
so i dont' know if there is a conventional way for this to be done
but what i can think of that will clear it other than deleting line by line is :

echo "" > .bash_history

but the above command will be in there after execution
 
Old 02-26-2004, 12:09 PM   #3
sarin
Member
 
Registered: May 2001
Location: India, Kerala, Thrissur
Distribution: FC 7-10
Posts: 354
Blog Entries: 2

Rep: Reputation: 34
history -c
 
Old 02-26-2004, 05:03 PM   #4
dailyd
LQ Newbie
 
Registered: Feb 2004
Posts: 4

Original Poster
Rep: Reputation: 0
cheers guys
 
  


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 do i replace the clear "clear screen" with the cls command thefedexguy SUSE / openSUSE 2 12-02-2005 06:02 PM
help clear this up synapse Slackware 2 10-05-2004 10:17 AM
How do i clear the MAKEFILE ?? glenn69 Linux - Newbie 5 04-23-2004 08:50 PM
Clear this please lramos85 Fedora 3 02-06-2004 07:35 PM
still not clear garorag Linux - Newbie 2 09-18-2001 01:48 PM


All times are GMT -5. The time now is 03:29 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration