Basics

Monday, September 29, 2014

Update the bash history file in real-time immediately

#Add the following 2 lines to #.bashrc file

shopt
-s histappend PROMPT_COMMAND="history -a;$PROMPT_COMMAND"
Posted by Nirav at 12:05 PM 1 comment:
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Blog Archive

  • ►  2019 (1)
    • ►  February (1)
  • ►  2018 (1)
    • ►  June (1)
  • ►  2016 (4)
    • ►  July (1)
    • ►  January (3)
  • ►  2015 (9)
    • ►  December (3)
    • ►  November (3)
    • ►  September (1)
    • ►  April (1)
    • ►  February (1)
  • ▼  2014 (14)
    • ►  December (3)
    • ▼  September (1)
      • Update the bash history file in real-time immediately
    • ►  August (4)
    • ►  July (3)
    • ►  June (1)
    • ►  April (2)
  • ►  2013 (7)
    • ►  July (1)
    • ►  June (1)
    • ►  April (1)
    • ►  March (2)
    • ►  February (2)
  • ►  2012 (32)
    • ►  November (6)
    • ►  October (6)
    • ►  September (8)
    • ►  August (1)
    • ►  July (3)
    • ►  June (7)
    • ►  April (1)
  • ►  2009 (13)
    • ►  April (8)
    • ►  March (5)
  • ►  2007 (1)
    • ►  December (1)

About Me

My photo
Nirav
Linux, BASH, PYTHON, JENKINS, running, geeky stuff, CALIFORNIA and other bits
View my complete profile
Picture Window theme. Powered by Blogger.