Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

assign home directory to user linux

usermod -d /path/to/dir username
Comment

linux create user with home directory

sudo useradd -m -d /home/username username
Comment

linux create user with homedir

useradd -m $username
Comment

how to create a username along with home directory in linux

useradd -m USERNAME
Comment

linux add user with home directory

useradd -m USERNAME
useradd -m $username
Comment

PREVIOUS NEXT
Code Example
Shell :: list of created ssh port forwarding 
Shell :: git pull <remote 
Shell :: make zip file command 
Shell :: git make directory 
Shell :: shell script tutorial 
Shell :: ispconfig ubuntu 18.04 
Shell :: mac redis cli 
Shell :: merge master into feauture branch 
Shell :: how to get all branches from gitlab repository 
Shell :: vim quit 
Shell :: update node manjaro 
Shell :: docker build requires exactly 1 argument 
Shell :: bash substract varible 
Shell :: git backtrack to commit 
Shell :: debian 10 sources 
Shell :: uname command 
Shell :: give sudo permission to vim ubuntu 
Shell :: connect to git repo with ssh-rsa 
Shell :: url_launcher 
Shell :: sublime text linux 
Shell :: clean linux 
Shell :: sshfs syntax with ssh key 
Shell :: ssh option to send null packets 
Shell :: shtdown pi cli 
Shell :: ls command in linux 
Shell :: zsh get first line 
Shell :: get symbols from library 
Shell :: poetry install packages 
Shell :: monit network request in ubuntu 
Shell :: linux make cpu spike 
ADD CONTENT
Topic
Content
Source link
Name
5+8 =