Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 6184

Brew WSL Ubuntu Terminal Error: No such file or directory [closed]

$
0
0

I'm having trouble with Ubuntu WSL2 and anytime I start up the terminal I get greeted with:

-bash: /bin/brew: No such file or directory-bash: export: `': not a valid identifierwill:~$

Then, if I try a command like ls I recieve the following error:

Command 'ls' is available in the following places * /bin/ls * /usr/bin/lsThe command could not be located because '/bin:/usr/bin' is not included in the PATH environment variable.ls: command not found

Which can be fixed with export PATH="/usr/bin:$PATH" however, every time I launch the terminal after that, I get the same issue that there is no such file or directory that I mentioned above.

How to fix, and have a great day.


Viewing all articles
Browse latest Browse all 6184

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>