LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 10-04-2004, 08:13 AM   #1
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
something I noticed about CLI history


My CLI history only has the commands listed I did while in x (via xterm) and not the normal CLI I use to start x. Is that normal?
 
Old 10-04-2004, 09:58 AM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
It says in the docs
When an interactive shell exits, the last $HISTSIZE lines are copied from the history list to the file named by $HISTFILE.

term is login shell not interactive

there is bound to be a way to controll this
history -w
will write out to the file

i bet if you put that in a file ~/.bash_logout

it might change the behaviour
 
Old 10-04-2004, 10:01 AM   #3
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Original Poster
Rep: Reputation: 45
Thanks for the help!
 
  


Reply



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
i have noticed something fatenabu Mandriva 4 09-08-2005 12:59 PM
noticed something/cd-burner wr3ck3d Linux - Hardware 1 04-08-2003 01:10 PM
Has anyone noticed this in Mandrake 9.1? guitargeek General 7 04-01-2003 11:45 AM
Has anyone else noticed... finegan Slackware 5 07-01-2002 11:02 AM
anyone noticed undeadlinux? tundra Linux - Distributions 4 06-22-2002 04:10 PM

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

All times are GMT -5. The time now is 05:54 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
Open Source Consulting | Domain Registration