Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Message-ID: <42532B60.3B8970F8@dessent.net> Date: Tue, 05 Apr 2005 17:20:48 -0700 From: Brian Dessent Organization: My own little world... MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: new to cygwin: where do i get...? References: <037501c539ad$20c58c30$6401a8c0 AT geekspeak> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com geekleaf wrote: > I am new to this list and to cygwin so please excuse some basic questions... > I installed cygwin from setup.exe from the main cygwin.org site but noticed > that many commands are missing -- not surprising -- what is the best way to > populate my various bins? where do i get the commands? I could poke around Everything is done through setup.exe. The base install only includes a minimal number of packages. Run setup.exe again and select whatever packages you want. Visit for more info. > /home/myLoginName -- which is fine, but that directory isn't there so I had > to create it. PATH als is set up to look in cygdriver/... or whatever > (can't remember now) so I am wondering if I have neglected to install Pathnames that are not mounted get translated into /cygdrive. In other words, c:\cygwin\bin is mounted as /bin so it will show up as /bin in the path. But C:\foo\bar isn't mounted explicitly so its POSIX pathname will be /cygdrive/c/foo/bar. /cygdrive is just a convenience to let a drive letter be turned into a POSIX/UNIX style path. Also, if your Windows login name has a space in it that will cause some problems. THere is an entry in the FAQ about it. > Also when I exit bash it says "logout" which implies that it is interpreting > that shell as a login shell which in turn implies that I should be able to > use a .login or .profile as the case may be -- how do I provide some kind of > initialization when I start cygwin? > Thanks in advance for any pointers! Yes, you can do all that just as you would do in unix. You can edit /etc/profile (for system wide changes), add a file to /etc/profile.d (whose contents is sourced from /etc/profile) or add per-user settings to ~/.profile, ~/.bash_profile, ~/.bashrc, and so on. Run "man bash" and search for the section titled "INVOCATION" for details on all the startup files that bash looks for. Other shells will have slightly different files that they look for at startup, but bash is the default shell that Cygwin uses. Brian -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/