Cannot run linux command directly from cmd/powershell

L

lihanchen

Recently, I upgraded my windows to 2004 from 1909.

I notice that I cannot run command like "xxx | grep xx" from command line anymore.

Initially I thought that is because I have WSL2 Ubuntu distro now, but converting Ubuntu to WSL1 didn't help the problem.


On Win10 2004:

ebff3b3b-5952-47fe-8f8f-b9e6a6d9c463?upload=true.png
It says cannot recognize grep as cmdlet, function, script, or executable...



On another computer of Win10 1809:

37637972-2223-43bb-929e-25f8a7dfc213?upload=true.jpg



Is there a way I can run linux command directly from cmd/powershell on Win10 2004? I find grep and some other tool very convenient.

Continue reading...
 
Back
Top Bottom