![usr/bin/env: 'bash\r': No such file or directory" Error When Trying to Run Commands on WSL2 (all Distros) : r/bashonubuntuonwindows usr/bin/env: 'bash\r': No such file or directory" Error When Trying to Run Commands on WSL2 (all Distros) : r/bashonubuntuonwindows](https://external-preview.redd.it/70LormGBcCwyyACiDWn0gcRt1JWJL9NtM9IS2eCq2Us.jpg?auto=webp&s=6f44b062601371e84055da298193ef946f8afb46)
usr/bin/env: 'bash\r': No such file or directory" Error When Trying to Run Commands on WSL2 (all Distros) : r/bashonubuntuonwindows
![environment variables - Linux: difference between "/usr/bin/env" and "/usr/ bin/strings /proc/$$/environ" - Unix & Linux Stack Exchange environment variables - Linux: difference between "/usr/bin/env" and "/usr/ bin/strings /proc/$$/environ" - Unix & Linux Stack Exchange](https://i.stack.imgur.com/4Y0Ck.png)
environment variables - Linux: difference between "/usr/bin/env" and "/usr/ bin/strings /proc/$$/environ" - Unix & Linux Stack Exchange
![shell - getting error /usr/bin/env: sh: No such file or directory when running command play - Stack Overflow shell - getting error /usr/bin/env: sh: No such file or directory when running command play - Stack Overflow](https://i.stack.imgur.com/cjWe5.png)
shell - getting error /usr/bin/env: sh: No such file or directory when running command play - Stack Overflow
![Node.js shebang. JavaScript is an interpreted language… | by Alex Ewerlöf (moved to substack) | Medium Node.js shebang. JavaScript is an interpreted language… | by Alex Ewerlöf (moved to substack) | Medium](https://miro.medium.com/max/737/1*ddYLm5PjNb5HiyYFdjzFaQ.png)
Node.js shebang. JavaScript is an interpreted language… | by Alex Ewerlöf (moved to substack) | Medium
![NEF_emulator error: /usr/bin/env: 'sh\r': No such file or directory - NetApp Development Support - Evolved5G Community NEF_emulator error: /usr/bin/env: 'sh\r': No such file or directory - NetApp Development Support - Evolved5G Community](https://forum.evolved-5g.eu/uploads/default/original/1X/52d174bb2e80899d4f6ab0ba16e9c6e7d22f75b7.png)
NEF_emulator error: /usr/bin/env: 'sh\r': No such file or directory - NetApp Development Support - Evolved5G Community
![please use #!/usr/bin/env bash instead of /bin/bash (which often doesn't exist!) · Issue #124 · microsoft/vscode-remote-release · GitHub please use #!/usr/bin/env bash instead of /bin/bash (which often doesn't exist!) · Issue #124 · microsoft/vscode-remote-release · GitHub](https://user-images.githubusercontent.com/127353/57174168-76866f80-6e7d-11e9-9242-fcf0e150e93b.png)