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

how to run sudo in windows

Simply specify the user and command to run as follows:
runas /user:Admin cmd
Comment

sudo windows

runas /noprofile /user:Administrator cmd
Comment

sudo in windows 11

winget install gsudo
Comment

PREVIOUS NEXT
Code Example
Shell :: show detail all changes in a git log 
Shell :: bash ask for input 
Shell :: apt show package url 
Shell :: vestacp wordpress permissions 
Shell :: untar gz file 
Shell :: mount nvme disk on aws ec2 
Shell :: google drive linux 
Shell :: set pin on mcp23017 using raspberry pi shell 
Shell :: How do I get my drive letters back? 
Shell :: remove debian gnu/linux - continue with install process 
Shell :: android studio adb path mac 
Shell :: shell count number of lines 
Shell :: cannot install gcc on ubuntu 
Shell :: install node arch linux 
Shell :: use nvm to install latest node 
Shell :: do a chechsum verification from command prompt 
Shell :: catkin_make ignore package 
Shell :: kill apache 
Shell :: npm install discord.js 
Shell :: install elasticsearch ubuntu 20.04 
Shell :: update all snap packages 
Shell :: bash compare two lists of checksums 
Shell :: how to check my git username 
Shell :: git remove .ds_store from commit 
Shell :: shell shortcuts 
Shell :: osx copy output to clipboard terminal 
Shell :: change hstr editor 
Shell :: copy first 10 lines of a file to another file in unix 
Shell :: fsl reg 
Shell :: Run emulator without Android studio. 
ADD CONTENT
Topic
Content
Source link
Name
4+8 =