This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: BASH history





	>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".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]