码迷,mamicode.com
首页 >  
搜索关键字:who    ( 2492个结果
第三周作业
1、列出当前系统上所有已经登录的用户的用户名,注意:同一个用户登录多次,则只显示一次即可。答:[root@Centos7~]#who|cut-d‘‘-f1|uniq2、取出最后登录到当前系统的用户的相关信息。答:[root@Centos7~]#who|tail-1|cut-d‘‘-f1|id3、取出当前系统上被用户当作其默认shell的最..
分类:其他好文   时间:2016-08-19 13:22:27    阅读次数:175
第三周作业
1、列出当前系统上所有已经登录的用户的用户名,注意:同一个用户登录多次,则只显示一次即可。]#who|cut-d""-f1|uniq2、取出最后登录到当前系统的用户的相关信息。 ~]#w|tail-13、取出当前系统上被用户当作其默认shell的最多的那个shell。 ~]#cut-d":"-f7/etc/passwd|sort|uni..
分类:其他好文   时间:2016-08-18 21:45:12    阅读次数:178
【Linux基础】作业三
1、列出当前系统上所有已经登录的用户的用户名,注意:同一个用户登录多次,则只显示一次即可。[root@lanin~]#who#显示当前用户登录信息roottty12016-08-1515:58rootpts/02016-08-1516:07(192.168.1.118)[root@lanin~]#who|cut-d‘‘-f1#取出当前用户登录信息的用户名rootroot[ro..
分类:系统相关   时间:2016-08-18 14:44:26    阅读次数:305
Reflash CARPROG FULL V8.21 MCU AT91SAM7S256
Here is a experience from DK forum members who made this possible about how to reflash CARPROG Mcu AT91SAM7S256Tool use: Carprog clone v8.21 firmwareW ...
分类:其他好文   时间:2016-08-18 12:45:27    阅读次数:278
js继承
一.prototype(原型) 1. function Person (name) { this.name = name; } function Star (name) { } Star.prototype = new Person("鹿晗"); var who = new Star(); cons ...
分类:Web程序   时间:2016-08-17 21:24:34    阅读次数:162
2016年8月17日 星期三 --出埃及记 Exodus 16:18
2016年8月17日 星期三 --出埃及记 Exodus 16:18And when they measured it by the omer, he who gathered much did not have too much, and he who gathered little did no ...
分类:其他好文   时间:2016-08-17 07:53:58    阅读次数:186
查看登录用户who
几个命令:wwho每隔5秒钟,就来查看hadoop是否已经登录,如登录,显示其已经登录,并退出;sleep whoamilast,显示/var/log/wtmp文件,显示用户登录历史及系统重启历史 -n #: 显示最近#次的相关信息lastb,/var/log/btmp文件,显示用户错误的登录尝试 ...
分类:其他好文   时间:2016-08-17 00:10:42    阅读次数:188
单调队列应用--BZOJ 3831 Little Bird
3831: [Poi2014]Little Bird Description In the Byteotian Line Forest there are trees in a row. On top of the first one, there is a little bird who woul ...
分类:其他好文   时间:2016-08-16 21:47:37    阅读次数:274
HDU - 2602 Bone Collector
Description Many years ago , in Teddy’s hometown there was a man who was called “Bone Collector”. This man like to collect varies of bones , such as d ...
分类:其他好文   时间:2016-08-16 10:37:19    阅读次数:181
马哥2016全新Linux+Python高端运维班第三周作业
本周作业内容:1、列出当前系统上所有已经登录的用户的用户名,注意:同一个用户登录多次,则只显示一次即可。#who|cut-d‘‘-f1|sort-u2、取出最后登录到当前系统的用户的相关信息。#id$(who|sort-t‘‘-k3,4|tail-1|cut-d‘‘-f1)3、取出当前系统上被用户当作其默认shell的最多的那..
分类:编程语言   时间:2016-08-15 22:55:01    阅读次数:786
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!