-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathComandos_de_la_terminal%2Flastlog.mw
59 lines (48 loc) · 2.58 KB
/
Comandos_de_la_terminal%2Flastlog.mw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
__NOTOC__
* [[:#lastlog | lastlog]]
== lastlog ==
<syntaxhighlight lang="bash">
[rrc@Llawyr ~]$ lastlog --help
Usage: lastlog [options]
Options:
-b, --before DAYS print only lastlog records older than DAYS
-h, --help display this help message and exit
-R, --root CHROOT_DIR directory to chroot into
-t, --time DAYS print only lastlog records more recent than DAYS
-u, --user LOGIN print lastlog record of the specified LOGIN
[root@Llawyr ~]# lastlog -b 1
Username Port From Latest
root **Never logged in**
bin **Never logged in**
daemon **Never logged in**
adm **Never logged in**
lp **Never logged in**
sync **Never logged in**
mail **Never logged in**
news **Never logged in**
uucp **Never logged in**
operator **Never logged in**
games **Never logged in**
nobody **Never logged in**
messagebus **Never logged in**
rpm **Never logged in**
vcsa **Never logged in**
avahi **Never logged in**
avahi-autoipd **Never logged in**
polkitd **Never logged in**
colord **Never logged in**
usbmux **Never logged in**
rtkit **Never logged in**
nscd **Never logged in**
gdm **Never logged in**
ntp **Never logged in**
vdr **Never logged in**
apache **Never logged in**
sshd **Never logged in**
mysql **Never logged in**
rrc pts/0 192.168.51.53 Mon May 26 00:35:04 -0500 2014
[root@Llawyr ~]# lastlog -u rrc
Username Port From Latest
rrc pts/0 192.168.51.53 Mon May 26 00:35:04 -0500 2014
</syntaxhighlight>
[[Category:Comandos de la terminal]]