Bash History

September 12, 2007

In case, history command does not save commands that you executed in the previous session, you can enable it by putting this in your .bashrc

export HISTFILE=~/.bash_history

CtrlR on bash prompt reads from the “history” itself.
So if history does not work, CtrlR also won’t work

Entry Filed under: Uncategorized. .

Leave a Comment

Required

Required, hidden

Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Trackback this post  |  Subscribe to the comments via RSS Feed


Archives

 

September 2007
M T W T F S S
« Aug   Nov »
 12
3456789
10111213141516
17181920212223
24252627282930

mybloglog rr

Blog Stats