Timeline for How to UNDO unwanted changes on my raspberry pi 4. Bash_profile not found
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 9, 2021 at 16:20 | comment | added | Julius Sechang Mboli | Th comment above is the correct form of the question. Sorry for the errors in the original questions. I now know that I can buy a new SD card and install pi OS afresh. Thank you everyone. | |
Jul 9, 2021 at 16:19 | comment | added | Julius Sechang Mboli |
I was trying to add this directory "/usr/local/opt/python-3.9.0/bin" to PATH on raspberry pi 4 and so I edited the bash file by adding the line: PATH = "/usr/local/opt/python-3.9.0/bin $PATH" . I now realized this was wrong. When path is echoed now by typing , I can only see that python 3.9.0 path. I am unable to edit the bash file again as all the commands to open it are not recognized. Is there a way to change this, that is to change back to the default path? How can I removed the PATH I added wrongly? Basic commands such as sudo apt update , sudo apt full-upgrade are not working
|
|
Jul 9, 2021 at 16:17 | vote | accept | Julius Sechang Mboli | ||
Jul 4, 2021 at 18:14 | history | answered | Ingo | CC BY-SA 4.0 |