Command Not Found Pblm im Mac Terminal

Joined
Sep 4, 2013
Messages
1
Reaction score
0
Points
1
Hi,

Till yesterday everything was fine..But when i opened terminal today morning and typed commands they are teeling like

-bash: java: command not found
-bash: sudo: command not found etc

I dont know what happened. Yesterday i changed envt variable..i dnt knw it is because of that..now i dnt know how to reset that because when i type

open -e.bash_profile

it shows,

-bash: open: command not found

pls help

Tizeliza
 

Raz0rEdge

Well-known member
Staff member
Moderator
Joined
Jul 17, 2009
Messages
15,764
Reaction score
2,103
Points
113
Location
MA
Your Mac's Specs
2022 Mac Studio M1 Max, 2023 M2 MBA
Welcome to Mac-Forums..

Changing the PATH will definitely break things. Why were you doing that?

Type "echo $PATH" and tell us what it says..
 

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