![]() ![]() ![]() Setting the special variable $HISTFILESIZE to some value will cause Bash to truncate $HISTFILE to be no longer than $HISTFILESIZE lines by removing the oldest entries.Ĭlear the history of the running session. This will cause $HISTFILE to grow by one line. HISTSIZE=9000īuiltin history the just entered line to the $HISTFILE (default is. Using Bash version 4.1.5 under Ubuntu 10.04 LTS (Lucid Lynx). This will enable history sharing between bash sessions in a way that the history counter does not get mixed up and history expansion like !number will work (with some constraints). ![]() Here is my attempt at Bash session history sharing. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |