AZ CLI in WSL2 (Ubuntu) gives error everytime

Ananay Ojha 91 Reputation points

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


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

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