I accidentally made a mistake when I changed my ~/.bash_profile
file and now I'm unable to run any command, such as ls
, touch
, sudo
, etc.
When I write echo $PATH
I have this result:
$ echo $PATH
/usr/local/bin:
$
And when I type /bin/cat ~/.bash_profile
, I have this result:
export PATH=$HOME/local/node/bin:/usr/local/bin:$PATH
export PATH=/usr/local/bin:$PATHh
But I am unable to change it. Can someone help me, please?