Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

change user linux

sudo su - username
Comment

linux change user in terminal

$ whoami
user1
$ su - user2
Password:
$ whoami
user2
$ exit
logout
Comment

bash change user

sudo su - username
Comment

Changing user shell in linux

sudo chsh -s /bin/zsh <username>
Comment

PREVIOUS NEXT
Code Example
Shell :: cron job 
Shell :: git credentials store with timeout 
Shell :: download pdf arranger ubuntu 
Shell :: linux unicode eingeben 
Shell :: remove all files in a directory linux 
Shell :: commit container to image 
Shell :: list file sizes 
Shell :: git repo example 
Shell :: repo from bitbucket to github 
Shell :: copy data to kubernetes pod 
Shell :: fedora simplescreenrecorder start 
Shell :: git fetch upstream from master 
Shell :: anaconda for ubuntu 20.04 
Shell :: Start rc.local manually 
Shell :: sudo update-alternatives — install 
Shell :: shrink directory name linux 
Shell :: certbot apache subdomain 
Shell :: setup cron job 
Shell :: solana mint one nft 
Shell :: pm2 remove process from list 
Shell :: how to see what files are committed in git 
Shell :: docker sh: react-scripts: not found 
Shell :: run crontab on mac 
Shell :: execution policy powershell single script 
Shell :: linux make executable 
Shell :: push exsisting repo 
Shell :: extract tar.gz linux command line 
Shell :: puppet install on centos 7 
Shell :: deploy github actions with firebase 
Shell :: download heroku ubuntu 
ADD CONTENT
Topic
Content
Source link
Name
9+1 =