LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-11-2004, 03:12 PM   #1
slowly
Member
 
Registered: Dec 2003
Distribution: Arch
Posts: 34

Rep: Reputation: 15
bash history


I'm trying to unset bash history

Code:
set +o history
However this variable is reset whenever I call up xterm.

I've tried putting this into /home/me/.bash_profile and /etc/profile as well. What should I do to make this permanent?

Thanks
 
Old 11-12-2004, 10:03 AM   #2
zeropash
Member
 
Registered: Apr 2003
Location: Bangalore,India
Distribution: FC2, RHES, RH9, FC3, FC1, Slackware 3.0
Posts: 208

Rep: Reputation: 30
~/.bashrc
The individual per-interactive-shell startup file
 
Old 11-12-2004, 12:35 PM   #3
slowly
Member
 
Registered: Dec 2003
Distribution: Arch
Posts: 34

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by zeropash
~/.bashrc
The individual per-interactive-shell startup file
If I put
Code:
set +o history
in .bashrc, history is still active. However if I use
Code:
set HISTFILE=0
, bash history is disabled. I wonder why the former doesn't work...
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bash history file jinksys Linux - Software 2 07-30-2005 04:58 PM
NOT escaping bash history ivanatora Linux - General 3 06-07-2005 02:17 PM
history not working in bash subu_s AIX 2 12-29-2004 01:49 PM
F8 for command history in bash titanandrews Linux - General 7 10-15-2004 04:25 PM
Bash History ukndoit Linux - Security 2 10-16-2003 10:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:10 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