Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Bashing away at Unix
- Date: Wed, 12 Mar 2008 20:50:58 +0900
- From: Brian Chandler <brian@example.com>
- Subject: Re: [tlug] Bashing away at Unix
- References: <47D7A519.70409@imaginatorium.org> <20080312101925.5b996fe6.gstewart@bonivet.net>
- User-agent: Thunderbird 1.5.0.5 (X11/20060728)
Godwin Stewart wrote:On Wed, 12 Mar 2008 18:40:41 +0900, Brian Chandler <brian@example.com> wrote:
Have I guessed wrong what .profile does?
ICBW but I believe .profile is only read by the Bourne shell. If you're using a different shell, such as tcsh then .profile will never be read anyway.
Thanks for the (similar) answers... OK, so I found something about the bash profile going in .bash_profile ... I also guessed that $SHELL tells me what shell I am running in by default, and it says /bin/csh. But the current PATH setting isn't the same as in .profile... ah, but it's in .cshrc, and here's a curious bit:
# Remove . from path to avoid potential confusion. set path = (~/bin /bin /usr/bin /usr/local/bin /usr/sbin)
Hmm, very Japanese... but I tried manually:
set PATH=.:$PATH
and now . appears at the front of the PATH value, but it _still_ won't run script fred unless I type ./fred . Um, I'm running out of steam here...
Brian Chandler
- Follow-Ups:
- Re: [tlug] Bashing away at Unix
- From: Mike Mazur
- Re: [tlug] Bashing away at Unix
- From: Scott Robbins
- References:
- [tlug] Bashing away at Unix
- From: Brian Chandler
- Re: [tlug] Bashing away at Unix
- From: Godwin Stewart
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Bashing away at Unix
- Next by Date: Re: [tlug] Bashing away at Unix
- Previous by thread: Re: [tlug] Bashing away at Unix
- Next by thread: Re: [tlug] Bashing away at Unix
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links