424
Linux Cat (lemmy.zip)

ahh

~$ which cat
you are viewing a single comment's thread
view the rest of the comments
[-] HamsterRage@lemmy.ca 4 points 3 days ago

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!".

[-] shark_byte@lemmy.zip 2 points 2 days ago

yeah I looked it up

this will be handy

~$ last reboot
~$ last -s -7days
this post was submitted on 03 Aug 2026
424 points (100.0% liked)

Programmer Humor

32666 readers
572 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 3 years ago
MODERATORS