delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=0.0 required=5.0 tests=BAYES_50,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,T_TO_NO_BRKTS_FREEMAIL |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
In-Reply-To: | <31955366.post@talk.nabble.com> |
References: | <31955366 DOT post AT talk DOT nabble DOT com> |
Date: | Wed, 29 Jun 2011 13:49:44 -0500 |
Message-ID: | <BANLkTini2uOQon9NbnTWQ2jq8HAqUTzuSQ@mail.gmail.com> |
Subject: | Re: .bashrc and.bash_profile missing |
From: | Weiqi Gao <weiqigao AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id p5TIo4wJ000500 |
On Wed, Jun 29, 2011 at 9:42 AM, Ballaw wrote: > > I have used cygwin for Netbeans for about 6 months and today when I open the > shell I get: > bash: $'\r': command not found In the past, when I get the error "'\r': command not found" from bash in Cygwin, the cause has always been that the shell script file has been inadvertently converted to the DOS format. > after which the usual promt was missing and -> appeared instead. > I opened up cygwin.bat in notpad++ and changed the path to > home/user/cygdrive and it said it couldn't find the file but it jerked back > to the usual prompt so I was able to look inside my home/user/ directory. > After using ls -a it showed that this directory was completely empty, no > .bashrc, no .bash_profile. I'm fairly new to this so I don't know why this > is happening? ANy help would be appreciated! -- Weiqi Gao (高为奇) weiqigao AT gmail DOT com http://www.weiqigao.com/blog/ -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |