missing paths

Roe, Kevin L. roe2@llnl.gov
Fri Mar 12 20:41:00 GMT 2010


My install is missing the /etc/profile file.

I think this may be the reason for why I need the '-c "exec /bin/bash"' in my shortcut.

What do I need to have in my /etc/profile file besides what you mentioned.

-Kevin

-----Original Message-----
From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com] On Behalf Of Andy Koppe
Sent: Friday, March 12, 2010 12:14 PM
To: cygwin@cygwin.com
Subject: Re: missing paths

Roe, Kevin L.:
> Ok, I can look at the other machine now (briefly), the sytax there already has the --login
>
> So, that is not the problem...

Check that /etc/profile actually exists and that it contains these
lines near the start:

PATH=/usr/local/bin:/usr/bin:/bin:$PATH
export PATH

(And lose the '-c "exec /bin/bash"' at the end of the rxvt shortcut,
unless you've got a particular reason for double-invoking bash like
that.)

Andy

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




More information about the Cygwin mailing list