Score:0

Not able to use bash by default in wsl2

pl flag

When i start Ubuntu on windows terminal or directly i mean by using Ubuntu app. I need to type bash to use it. If i don't type bash as first command. I can't access my installed apps/software it gives error that they are not installed.

I had solved it Temporarily by changing windows terminal settings and it only works there where i do my most of work. But i want to make it permanently if you have faced this issue and solved help me.

I tried following thing Went to settings there is option for setting up default location and something for terminal i changed my settings from wsl.exe -d Ubuntu to wsl.exe -d Ubuntu bash so now when i open my terminal it runs bash as soon it get start.

If you know another fix help me.

reference image

Thank you.

Nmath avatar
ng flag
We need to know exactly what commands you are using and the whole unredacted output of those commands. The whole point of errors is to tell you what's wrong, so when you do not relay this information or the steps needed to reproduce the error, it is hard to help. Please edit your question with this info
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.