Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

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 :: linux kill a port 
Shell :: git rename master branch to main 
Shell :: install gui centos 7 
Shell :: powershell create file content 
Shell :: ls with file size 
Shell :: convert epoch timestamp to human readable format on osx 
Shell :: powershell convert to exe 
Shell :: Ubuntu open terminal in current folder with shortcut 
Shell :: git how to remove git 
Shell :: vagrant ubuntu 16.04 
Shell :: bash show contents of file 
Shell :: how to stop a port in macos 
Shell :: iis reset command 
Shell :: navigate to folder mac1 
Shell :: how to undo a commit sent that was pushed 
Shell :: create sudo user centos 
Shell :: what to do with unstaged changes after reset 
Shell :: copy whole directory command line 
Shell :: bash rm all except 
Shell :: localhost wsl 
Shell :: https://git-lfs.github.com/ 
Shell :: how to update forked repo in github 
Shell :: kubernetes get services 
Shell :: windows 10 path to wsl 
Shell :: download putty for ubuntu 
Shell :: get current time curl 
Shell :: homebrew not in path on ubuntu 
Shell :: git clone ssh key 
Shell :: how to get homebrew 
Shell :: git uncommit last commit but keep changes 
ADD CONTENT
Topic
Content
Source link
Name
2+2 =