Hi,
The dot in the .profile filename makes it
invisible. You really can't screw it up, it
doesn't have much out of the box. I personally
call a secondary shell file aka mystartup.sh from
.profile so it is a little more modular. It can
be a pain to do right, so feel free to pign me
with questions about what you are trying to do.
I use bbedit to edit my shell files, text
wrangler is free, or the x code editor will work.
Best,
Scott
Benjamin, yes, I was looking this up last
night too, and found that I do need to change my
path, so will check out the link you sent along.
I do know how to open .bash_profile with pico,
but would rather not change it until I can
figure out a way to back it up.
I can't seem to locate the file. Any tips?
<smile> I just don't want to go messing with
my system until I actually know *EXACTLY* what I
need to do and then do it in the simplest way
possible. lol!
anyway, thanks so much and have a lovely day!
Smiles,
Cara :)
On Mar 19, 2008, at 12:29 AM, Benjamin Hawkes-Lewis wrote:
Cara Quinn wrote:
sudo port selfupdate
and while I get the password query, I then am
told that the sudo command isn't recognized.
I'm assuming I'm just needing to cd to the
correct folder where MacPorts is installed,
but shouldn't this just be recognized
system-wide?
That command works for me everywhere. I
suspect the problem might be that you don't
have the MacPorts directories in your path.
What's the output of the following command:
echo $PATH
For comparison purposes my path begins with:
/opt/local/bin:/opt/local/sbin
which are the MacPorts executable directories.
The port executable is in /opt/local/bin.
If this is indeed your problem, look to
http://www.macports.org/install.php#source
for a discussion of what your path needs to contain.
http://www.oreillynet.com/lpt/a/4641
briefly mentions how to set your path (under
the heading "Customizing Your Environment").
http://www.tech-recipes.com/rx/2621/os_x_change_path_environment_variable
is a longer discussion of same.
--
Benjamin Hawkes-Lewis
---
View my Online Portfolio at:
http://www.onemodelplace.com/CaraQuinn
--
--Scott