The Wayback Machine - https://web.archive.org/web/20201017213936/https://github.com/mattn/sudo
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

sudo

sudo for windows

Build status

Usage

C:\>sudo cmd /c dir

Then, you'll see the UAC dialog.

Tutorials

Display contents of file which can't access from you

sudo cmd /c type secret-file.txt > accessible-file.txt

Pipe from/to stream

echo 123 | sudo my-command.exe | more

Change IP address

sudo netsh interface ip add address "Local Area Connection" 33.33.33.33 255.255.255.255

Edit hosts file

sudo notepad c:\windows\system32\drivers\etc\hosts

Create admin's console

sudo

Installation

go get github.com/mattn/sudo

requirement go1.8 or later.

Or download from release tab.

License

MIT

Author

Yasuhiro Matsumoto (a.k.a. mattn)

About

sudo for windows

Topics

Resources

License

Sponsor this project

 

Packages

No packages published

Languages

You can’t perform that action at this time.