ahh

~$ which cat
you are viewing a single comment's thread
view the rest of the comments
[–] [S] 1 point 3 months ago (2 children)

there's a last command? just knowing that.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 4 points 3 months ago (1 child)

    Yes, but it shows information about recent/current logins and requires access a file called wtmp (or something like that, off the top of my head), and that requires privileged access.

    My usual use case where I mix it up is looking at a log file and and I just want to see the last few entries. So my brain 🧠 tells my fingers to type "last logfile", and when I get the permission message it tells my mouth to go, "Doh!".

  • source
  • parent
  • hideshow 1 child comment