AZ CLI in WSL2 (Ubuntu) gives error everytime

Ananay Ojha 91 Reputation points
2022-10-18T08:26:56.71+00:00

Hi Experts,

I have AZ CLI running on Ubuntu installed via WSL2 on a windows 11 machine. Every time I run this command - az group list --query [].name -o tsv | xargs -otl az group delete --no-wait --yes -n.

it appends '$'\'r' hence causing an error.

Please help me troubleshoot

251465-image.png

PS : Not finding appropriate tags for this question
so picking random ones (as it's neccsesary to add)

.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
324 questions
0 comments No comments
{count} votes