Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

add user to sudoer "zsh" same customization for root

sudo ln -s $HOME/.oh-my-zsh           /root/.oh-my-zsh
sudo ln -s $HOME/.zshrc               /root/.zshrc
sudo ln -s $HOME/.p10k.zsh            /root/.p10k.zsh
sudo chsh -s $(which zsh) root

sudo chmod 744 /root/.oh-my-zsh
sudo chmod 744 /root/.zshrc
sudo chmod 744 /root/.p10k.zsh
Comment

add user to sudoer "zsh" customization

usermod -s /bin/zsh root
Comment

add user to sudoer "zsh" customization

ln -s $HOME/.oh-my-zsh           /root/.oh-my-zsh
ln -s $HOME/.zshrc               /root/.zshrc
Comment

add user to sudoer "zsh" same customization for root

sudo ln -s $HOME/.oh-my-zsh           /root/.oh-my-zsh
sudo ln -s $HOME/.zshrc               /root/.zshrc
sudo ln -s $HOME/.p10k.zsh            /root/.p10k.zsh
sudo chsh -s $(which zsh) root

sudo chmod 744 /root/.oh-my-zsh
sudo chmod 744 /root/.zshrc
sudo chmod 744 /root/.p10k.zsh
Comment

add user to sudoer "zsh" customization

usermod -s /bin/zsh root
Comment

add user to sudoer "zsh" customization

ln -s $HOME/.oh-my-zsh           /root/.oh-my-zsh
ln -s $HOME/.zshrc               /root/.zshrc
Comment

PREVIOUS NEXT
Code Example
Shell :: scp copy hidden files 
Shell :: Installing craftable 
Shell :: heroku rename remote app 
Shell :: how to rm file ubuntu contains jpg 
Shell :: ring Change the current directory 
Shell :: connect to host gitlab.com port 22: Connection refused deploy key 
Shell :: stop git advice on empty path spec 
Shell :: executable post recieve git hook 
Shell :: grep expresion generetor 
Shell :: pacman install openldap 
Shell :: express-rate-limit github 
Shell :: how to set minimum char for variable in powershell from user input 
Shell :: code audit 
Shell :: install jupyter notebook pypi 
Shell :: partial substring comparison bash shell script 
Shell :: stop gnome display manager 
Shell :: mac find path of executable 
Shell :: replace the sound of mp4 video linux 
Shell :: linux mount lvm 
Shell :: qemu convert qcow2 to vdi 
Shell :: chmod read write just for me 
Shell :: read gitignore file 
Shell :: how to set umask in bashrs in linux 
Shell :: install scratchpad jupyter notebook 
Shell :: go2shell settings 
Shell :: atom disable shelling out for environment 
Shell :: install virtualenv ubuntu 18.04 stackoverflow 
Shell :: kubernetes cert kubeconfig 
Shell :: uaing awk to print columns from multiple files 
Shell :: path configuration cmd 
ADD CONTENT
Topic
Content
Source link
Name
3+2 =