Cygwin: A `sudo` like command
You can run commands from Cygwin with elevated permissions. On Windows, you have something like Run as different user or Run as administrator. And on Linux, you probably use the sudo command for this. To get similar functionality on Cygwin, you can add a new alias to your shell’s config file. The following is for Zsh, but it should also work for other bash-like shells. ~/.zshrc alias sudo='cygstart --action=runas' Now you can run something like this to test the alias....