no bash command was working in my terminal, so I tried to reset my $PATH and somehow screwed it up more. Any help!
-bash: export: `/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/mysql/bin/': not a valid identifier
Roopalis-MacBook-Air:~ roopa$
Roopalis-MacBook-Air:~ roopa$ echo $PATH
Roopalis-MacBook-Air:~ roopa$
Roopalis-MacBook-Air:~ roopa$
Try adding the path in .bash_profile
:
PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/mysql/bin/
export PATH
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.