摘要: //vim /etc/vimrc(管理员权限)1、 显示行号:set number 或者 set nu不显示行号: set nonu2、自动缩进:set autoindent3、C语言自动缩进:set cindent4、设置 tab 键表示多少个空格,默认是8:se... 阅读全文
posted @ 2016-03-12 20:20 haxianhe 阅读(279) 评论(0) 推荐(0) 编辑
摘要: 1.切换到root用户2.在打开的配置文件中,找到root ALL=(ALL) ALL,在下面添加一行xxx ALL=(ALL) ALL 其中xxx是你要加入的用户名称 阅读全文
posted @ 2016-03-12 20:10 haxianhe 阅读(142) 评论(0) 推荐(0) 编辑