Horje
how to change users in ubunut terminal Code Example
how to change users in ubunut terminal
first --
sudo su 
then --
su username
change username ubuntu
# -l changes login name
# -d changes home directory
# -m copies over contents from old home directory
usermod -l <newname> -d /home/<newname> -m <oldname>

# NOTE: will not work if you are currently logged on as user
# - workaround by temporarily enabling root account and running above command there
# [sudo passwd root] 
# - after root account has been used to change username lock it using
# [sudo passwd -l root]




Shell

Related
where is docker images stored windows wsl2 Code Example where is docker images stored windows wsl2 Code Example
view system path Code Example view system path Code Example
powershell parameter mandatory Code Example powershell parameter mandatory Code Example
chmod: changing permissions of : Read-only file system and writeable Code Example chmod: changing permissions of : Read-only file system and writeable Code Example
ubuntu 20.04 ntfs read only Code Example ubuntu 20.04 ntfs read only Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
15