Terminal Wont Do Anything

S

satrop

Guest
Hi all,

Here's the thing, my sterminal will not take any code what so ever! It always comes up with:

-bash: ifconfig: command not found

doesn't matter what it is I'm doing,

-bash: open: command not found

etc.

Anything I put in comes out as ":command not found"

I've removed the "com.apple.Terminal.plist" and still nothing. I've restarted the computer, nothing, I've tried "iTerm" same thing.

What have I done?

If it helps, I don't know what I did to make this happen?

Thanks all!
 
Joined
Feb 14, 2004
Messages
4,781
Reaction score
166
Points
63
Location
Groves, Texas
Open Terminal and type: echo $PATH
What do you get?
 
Joined
Mar 17, 2008
Messages
6,879
Reaction score
191
Points
63
Location
Tucson, AZ
Your Mac's Specs
Way... way too many specs to list.
well, you're not pathed to anything.

this will get you moving along at least..

/bin/echo "/sw/bin:/sw/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin" >> ~/.profile


as to why your account doesn't have this pathed in the first place... ??
 
Joined
Feb 14, 2004
Messages
4,781
Reaction score
166
Points
63
Location
Groves, Texas
If he doesn't use Fink, he doesn't need the /sw/ paths and could get errors, otherwise that should get him going.
Do an ls -la and see if you have any of the following:
.bash_profile
.bashrc
.profile

If so, copy and paste here. If not, don't know what changed your path.

Also do you have any files which end in .term?
 
Joined
Mar 17, 2008
Messages
6,879
Reaction score
191
Points
63
Location
Tucson, AZ
Your Mac's Specs
Way... way too many specs to list.
yea, I just pasted my base path in there and forgot to remove those, remembered other stuff like my dscli pathing :D
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top