ubuntu console commands use record

username

useradd -m -s /bin/bash x’x’x

The newly created user group to join super powers

usermod -a -G sudo xxx

Set a password for new users
Note that there will be no time to lose the password characters appear, do not think the keyboard is broken, you can enter normal

passwd xxx

Switch to the new user-created

su - xxx

Update

sudo apt-get update
sudo apt-get upgrade

installation

sudo apt-get install xxx

vim command

vim filename (/ ... / ... / file name)
esc command mode
: wq to save and exit (requires root privileges)
: q! Exit without saving

Guess you like

Origin blog.csdn.net/Chengang98/article/details/90484098