Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

execute as another user linux

runuser -l <USER> -c <CMD>
Comment

linux execute as user

sudo -H -u otheruser bash -c 'echo "I am $USER, with uid $UID"' 
Comment

PREVIOUS NEXT
Code Example
Shell :: git clone branch from repo 
Shell :: install whitenoise 
Shell :: git alias 
Shell :: Start Xampp Mysql In Ubantu 
Shell :: kali linux desktop gadgets 
Shell :: please rebuild precompiled header 
Shell :: change shell prompt color linux 
Shell :: upgrade pip version 
Shell :: xampp archlinux 
Shell :: npm init y 
Shell :: does jupyter notebook come with anaconda in ubuntu 
Shell :: stop minecraft server command line 
Shell :: install postgres 11 ubuntu 
Shell :: bash print lines that dont have a word 
Shell :: how to check in a library if it is installed in conda 
Shell :: create folder shortcut on desktop ubuntu 
Shell :: ubuntu kill specific port 3000 
Shell :: error installing drivelist npm 
Shell :: ubuntu check user groups 
Shell :: store ls into array bash 
Shell :: redis show all keys 
Shell :: search not working windows 11 
Shell :: bash lowercase 
Shell :: how to enable migration in package manager console 
Shell :: install aws cli mac 
Shell :: conda install sklearn 0.20 
Shell :: .gitignore global 
Shell :: install docker-compose ec2 
Shell :: Cache Your Login Credentials 
Shell :: git remove origin 
ADD CONTENT
Topic
Content
Source link
Name
8+9 =