Mail Archives: cygwin/1998/11/27/09:52:13
>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 AT cygnus DOT com" with one line of text: "help".
- Raw text -