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.