Exported the wrong path in Pi renders all commands useless
Posted: Tue Mar 31, 2020 10:53 am
Hi everyone,
I was tinkering around with the command line of my Pi and found out the hard way that exporting to a wrong path makes all of my commands unusable. I was installing a package using pip and it advise me to export my PATH like this:
I follow the instruction and execute export PATH=/home/pi/.local/bin. The installed package works but other commands like "ls, nano, cat.." all is not working, I tried exporting back to /usr/local/bin and /usr/bin like this
export PATH=/usr/local/bin but see no results.
I have lots of important data on there and in need of help right now. Any helping hands would definitely be appreciated
I was tinkering around with the command line of my Pi and found out the hard way that exporting to a wrong path makes all of my commands unusable. I was installing a package using pip and it advise me to export my PATH like this:
Code: Select all
The script pycodestyle is installed in '/home/pi/.local/bin' which is not on PATH.
export PATH=/usr/local/bin but see no results.
I have lots of important data on there and in need of help right now. Any helping hands would definitely be appreciated