LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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: Mint, Ubuntu server, FreeBSD, Android
Posts: 362

Rep: Reputation: 32
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



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

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

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