this can also be set with the environment variable HISTFILE. whatever file you set HISTFILE to use must be writable by the user invoking the shell.

try 'man bash' for more info


Mike Burger wrote:
Set the user shell to bash, which stores the command history in ~/.bash_history

On 26 Dec 2002, shawn wrote:


when I work as root I get a nice history of the commands I've done on
the command line.

that dissappears when I am just a user.  I don't need the root history
but just that for the user.  how can I set it so that the command line
with remember the commands I do as a user too?

TIA,

Shawn





--
Matthew Boeckman			(816) 777-2160
Manager - Systems Integration		Saepio Technologies



--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to