X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-5.1 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org X-IronPortListener: Outbound_SMTP X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av8EALZ9tU+cKEcW/2dsb2JhbABEs06BB4IVAQEBAwESKD8FCwIBCA0nAhAfExcBDQEBBA4NGodnBZ86nGWLBIRpYgONJo46ihSDBQ From: "Buchbinder, Barry (NIH/NIAID) [E]" To: "cygwin AT cygwin DOT com" CC: "max AT kalani DOT com" Date: Thu, 17 May 2012 18:43:09 -0400 Subject: RE: Cygwin Commands Message-ID: <0105D5C1E0353146B1B222348B0411A20A770C79B7@NIHMLBX02.nih.gov> References: <20120517163726 DOT 10276x4qp0wmtdhy AT www DOT kalani DOT com> In-Reply-To: <20120517163726.10276x4qp0wmtdhy@www.kalani.com> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q4HMhf79014670 Max wrote on May 17, 2012 5:37 PM I fully agree with Otto. You need to learn more (and to learn it elsewhere) before you will be ready to pose questions in this forum. But to explain. > admin AT mypc ~ > $cd > > admin AT mypc ~ > $ The ~ represents your home directory. You started in your home directory. cd with no argument goes to your home directory. You stayed where you were. The command behaved as expected. > admin AT mypc ~ > $dir > > admin AT mypc ~ > $ dir (essentially identical to ls) run in a directory lists the files in that directory, omitting files starting with a period unless one types in "dir -a". It looks like you do not have any files in your home directory that do not start with a period. Note: That you used DIR and not ls suggest that you are coming with a DOS/Windows background. Working in a cygwin environment is different. Be prepared. Try not to make assumptions. So nothing is wrong. But you didn't know enough to know that. That means that you've an awful lot to learn. Depending on why you want to use cygwin, you may or may not find the rewards to be worth the effort. Good luck, - Barry Disclaimer: Statements made herein are not made on behalf of NIAID. -- 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