Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.


  Search this Thread
Old 09-03-2011, 10:37 AM   #1
LQ Newbie
Registered: May 2011
Posts: 2

Rep: Reputation: Disabled
Question regarding history


~/.history file updates only when a session is closed. How can I update it at a regular basis (whenever I type a command on the terminal session and before closing it)
Old 09-03-2011, 12:08 PM   #2
LQ Newbie
Registered: Jun 2011
Location: London
Distribution: FreeBSD, Ubuntu, Fedora
Posts: 15

Rep: Reputation: Disabled
I believe that history -a will do what you are looking for.
Old 09-03-2011, 01:20 PM   #3
LQ Newbie
Registered: May 2011
Posts: 2

Original Poster
Rep: Reputation: Disabled


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
[SOLVED] bash invocation question, using 'history' builtin. bartonski Programming 9 10-18-2009 10:00 PM
Question about bash history temp files WingnutOne Linux - General 4 05-16-2008 06:53 AM
history question Atif_Khan Linux - General 1 01-25-2007 01:05 AM
mozilla/netscap history file related question.. beautifulmind Linux - Software 0 07-17-2002 09:48 AM
question about history file on several konsole? doublefailure Linux - General 1 04-08-2002 04:49 AM > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 02:42 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration