Using su The su command allows users to open a terminal window, and from that terminal start a sub shell in which the user has another identity. To perform administrative tasks, for instance, you can log in with a normal user account and type su …
linux创建账户并自动生成主目录和主目录下的文件 在Linux系统中增加和删除用户 Linux添加用户(user)到用户组(group) usermod -a -G groupA user linux 查看某个用户属于哪个组 id 用户名 yingc@yingc:/var/www$ id yingc uid=1000(yingc) gid=1000(yingc) 组=1000(yingc),4(adm),24(cdrom),27(sudo),30(dip),33(www-data),46(pl…
一.在<Linux系统中如何查看文件属性>中介绍了通过ls指令来查看文件的属性,具体如下: [命令] letuknowit@ubuntu:/$ cd /tmp letuknowit@ubuntu:/tmp$ touch test letuknowit@ubuntu:/tmp$ ls -al test [结果] rw-rw-r-- 1 letuknowit letuknowit 0 2012-03-08 04:33 test 上面结果部分显示的即为test文件的属性了,对于Linux系统中的文件…
理解Linux系统中的load average(图文版) 博客分类: Linux linux load nagios 一.什么是load average? linux系统中的Load对当前CPU工作量的度量 (WikiPedia: the system load is a measure of the amount of work that a computer system is doing).也有简单的说是进程队列的长度. Load Average 就是一段时间 (1 分钟.5分钟.15分…