Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

sudo command in windows

# 2 ways to become sudo user from windows terminal

# 1st way ---> just this command in terminal & this user must have admin priliages ... # check user privilages by ==> net user user_name > Local Group Memberships = *Administrators
runas /user:user_name cmd


# 2nd way is to intsall sudo package from "chocolatey" windows-package-manage
# and enjoy sudo command in windows just like in linux ==> BEST CHOICE
choco install -y sudo
Comment

sudo windows

runas /noprofile /user:Administrator cmd
Comment

sudo in windows 11

winget install gsudo
Comment

PREVIOUS NEXT
Code Example
Shell :: how to install jack client in ubuntu 
Shell :: Error: Unable to find a match: ansible 
Shell :: bash true if grep has output 
Shell :: anbox install google play store 
Shell :: valgrind usage 
Shell :: how to convert dos to unix in shell 
Shell :: redis download 
Shell :: git remove added file to commint 
Shell :: push docker image to docker hub 
Shell :: How can I remove the first line of a text file using bash/sed script? 
Shell :: octave for ubuntu 20.04 
Shell :: pip install local directory 
Shell :: dpkg get installed package version 
Shell :: solana create keypair 
Shell :: push to github from terminal 
Shell :: how to install react loader spinner 
Shell :: powershell output array as table 
Shell :: create a new branch and publish gitub 
Shell :: uninstall cinnamon 
Shell :: jupyter digits 
Shell :: heroku remove branch 
Shell :: create new repository on the command line 
Shell :: gulp-gzip 
Shell :: generate component angular without folder 
Shell :: add user centos 7 sudo 
Shell :: github comment code block new line 
Shell :: linux chmod permissions 
Shell :: commitlint install 
Shell :: how to create a sh file to run terminal commands 
Shell :: git merge branch to another branch 
ADD CONTENT
Topic
Content
Source link
Name
9+6 =