Tags:
create new tag
, view all tags
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>
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2003-09-07 - AnitaLewis
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by PerlCopyright 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding WikiLearn? WebBottomBar">Send feedback
See TWiki's New Look