LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices

Reply
 
Search this Thread
Old 01-16-2007, 03:03 PM   #1
Kropotkin
Member
 
Registered: Oct 2004
Location: /usr/home
Distribution: Fedora, Mint, FreeBSD, Android
Posts: 346

Rep: Reputation: 31
how to save bash history between reboots?


Hi all,

How does one preserve the bash history between reboots? This seems on by default under Linux but not the case under FreeBSD. I added "HISTSIZE=500" to .bash_profile, but that doesn't appear to be enough.

Thanks.
 
Old 01-16-2007, 03:28 PM   #2
FnordPerfect
Member
 
Registered: Dec 2006
Location: Germany
Distribution: Kubuntu (Feisty Fawn), Debian (SID)
Posts: 127

Rep: Reputation: 15
IIRC, you have to set a filename in HISTFILE. if this variable is not set at all, history is not saved upon logout.

I bet, there are also some other ways to achieve this..
 
  


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
need someone to look into this bash history bytez Linux - General 7 10-16-2006 10:26 PM
save history from konqueror steelheat Linux - Desktop 1 09-10-2006 09:11 AM
Where does KDE's run command save history? ljubak Linux - Desktop 1 08-28-2006 04:21 PM
zaurus (OZ 3.3.5) can konsole save comand history? Brain Drop Linux - Laptop and Netbook 1 04-02-2004 09:40 AM


All times are GMT -5. The time now is 07:00 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration