Comandos de la terminal/lastlog

De WikiCabal
< Comandos de la terminal
Revisión del 19:05 29 may 2014 de Rrc (discusión | contribuciones) (Página creada con '__NOTOC__ * lastlog == lastlog == <syntaxhighlight lang="bash"> [rrc@Llawyr ~]$ lastlog --help Usage: lastlog [options] Options: -b, --before DAYS ...')
(dif) ← Revisión anterior | Revisión actual (dif) | Revisión siguiente → (dif)
Ir a la navegación Ir a la búsqueda

lastlog

[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