Linux Basics (ii)--VIM editor and account management

Source: Internet
Author: User

Vim Editor
    vim是vi编辑器的增强版,是unix/Linux系统默认的文本编辑器
Vim three modes of operation
    命令模式: vim      输入模式: 按键 I 进入输入模式    末行模式: 按键ESC : 进入末行模式
Vim can create and modify files
    新建:Vim 文件名    修改:Vim 已存在的文件    Wq :   保存并退出
VIM Command mode operation
光标跳转


#复制/paste/delete rows

Vim end-of-line mode operation
Save and exit

Find and replace

Linux Account Management
1.  用户类型        超级用户:root (0)        系统用户:1-999     (编号)        普通用户:1000-600002.  用户设置        Useradd mao             添加用户        Passwd                      修改用户密码        Usermod –I              更改登录名        Usermod –d              更改主/家目录的位置        Userdel –r 用户名          删除用户(用户目录邮件等一并删除)               3.  组账号管理    Groupadd –g 888 (GID)tedu     创建一个名为                                                        tedu ID号为888的组    Gpasswd –a jing tedu                指定用户 jing 到组tedu    ID jing                                          查看用户信息 组信息    Groupdel tedu                       删除组 TEDU

Linux Basics (ii)--VIM editor and account management

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.