See
BLT.
~/.bash_history: A file in a user's home directory that contains a list of the (recent) commands issued by this user at the bash command line (i.e., under the bash shell).
There are various ways to manipulate this file which I should describe somewhere. The most common is the ability to enter an up or down arrow at the command prompt to scroll through old commands and reissue a selected command by pressing enter.
The maximum size of the file can be set (somehow -- you might try looking at the man pages for bash, or a Google search).
If you su to root or another user, your command history is saved, but I'm not sure whether it is combined with that other user's ~/.bash_history or stored somewhere else.
Contributors
- RandyKramer - 22 Jan 2002
- <If you edit this page, add your name here, move this to the next line>