BASH history

Graham Murray GMurray@cware.co.uk
Thu Nov 26 23:59:00 GMT 1998


	>Here's my Question:
>  > I found the following file in my root: ".bash_history".
>   >It does not at all belong there! (I've got a bad
> obsessive-compulsive
	>disorder about keeping my system tidy %-}...)
	>
>   >How can I prevent BASH from creating this file in my root directory
	>(C:\)?

	bash will put the file .bash_history into the user's Home
directory. It is putting it in the root because you do not have a home
directory set up. The solution is to define the enviroment variable HOME
before starting bash. The this file (and others) will be placed in the
correct place.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".



More information about the Cygwin mailing list