77
rated 0 times
[
77]
[
0]
/ answers: 1 / hits: 746788
/ 2 Years ago, sat, january 15, 2022, 10:26:00
I was updating my .bash_profile, and unfortunetly I made a few updates and now I am getting:
env: bash: No such file or directory
env: bash: No such file or directory
env: bash: No such file or directory
env: bash: No such file or directory
env: bash: No such file or directory
-bash: tar: command not found
-bash: grep: command not found
-bash: cat: command not found
-bash: find: command not found
-bash: dirname: command not found
-bash: /preexec.sh.lib: No such file or directory
-bash: preexec_install: command not found
-bash: sed: command not found
-bash: git: command not found
My bash_profile actually pulls in other .sh files (sources them) so I am not exactly sure which modification may have caused this.
Now if I even try and to a list of files, I get:
>ls
-bash: ls: command not found
-bash: sed: command not found
-bash: git: command not found
Any tips on how to trace the source of the error, and how to be able to use the terminal for basic things like listing files etc?
More From » command-line