Linux Today: Linux News On Internet Time.

SearchOpenSource: Shell Game: Managing Bash Command History

Sep 07, 2006, 09:00 (1 Talkback[s])
(Other stories by James Turnbull)

[ Thanks to Jane Walker for this link. ]

"The Bash shell is the default shell environment in most Linux distributions, including all flavours of Red Hat. One default feature of the Bash shell is to record a history of all the commands entered by a user in a log file called .bash_history, found in the user's home directory.

"The history in this file can be retrieved from the command line using the more or cat binaries or by using the internal Bash command, history. For many users, it is useful to retrieve the previously executed commands, usually to save the effort of re-typing them..."

Complete Story

Related Stories: