Linux-Like Sudo Command is Here with Windows 11 Insider Build 26052

Feb. 9, 2024



And no, Microsoft Sudo on Windows 11 is completely different from Sudo on Linux. Although Microsoft has embraced Linux viaWindows Subsystem for Linuxfor a long time now, Microsoft Sudo is not a port of Linux Sudo and is an entirely different application.

How Does Sudo Work on Windows 11

How Does Sudo Work on Windows 11

Thedocumentationfor Microsoft Sudo is now live. You can use it by adding the word “sudo” before the start of a command. For example:

Users can configure Sudo in three ways: in anew Window, With input Disabled, and Inline. Choosing the first option will open a new Terminal window to run the command. The second option closes the user input, hence, if a command requires further input when running, you can’t input anything.Image Courtesy: Microsoft Blog

The third option is what most people will end up using, i.e., the Inline option, which allows you to use Sudo in the same line, much like Linux.

What are your thoughts about Sudo on Windows 11? What other features should Microsoft reinvent from Linux and bring to Windows 11? Let us know in the comments section below.