13

This is a 30GB file, I tried to open it in VIM It does not show anything, How can I see contents of this file

This is CentOS 6.5

DevOps_101
  • 389
  • 2
  • 3
  • 9
  • 1
    Note that the lastlog file is probably not really 30 GB, because it is a sparse file. See NOTE in the man page of `lastlog(8)` – a3nm Aug 27 '16 at 09:56

1 Answers1

20

Run the lastlog command:

$ lastlog
JamesThomasMoon
  • 725
  • 2
  • 5
  • 24
EEAA
  • 109,363
  • 18
  • 175
  • 245