www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/11/27/09:52:13

From: GMurray AT cware DOT co DOT uk (Graham Murray)
Subject: RE: BASH history
27 Nov 1998 09:52:13 -0800 :
Message-ID: <A10998A87C42D21192CF00805F657429010787.cygnus.gnu-win32@votec>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com, "'mvoss AT kuttig DOT com'" <mvoss AT kuttig DOT com>



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


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019