this post was submitted on 03 Aug 2026
419 points (98.2% liked)

Programmer Humor

32619 readers
2127 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
 

ahh

~$ which cat
you are viewing a single comment's thread
view the rest of the comments
[–] HamsterRage@lemmy.ca 7 points 1 day ago (1 children)

For the past 30 years or so, my brain always tells me to type "last" instead of "tail". This usually results in some kind of "Permission denied" message that confuses me for a few seconds.

[–] shark_byte@lemmy.zip 1 points 1 day ago (1 children)

there's a last command? just knowing that.

[–] HamsterRage@lemmy.ca 4 points 1 day ago (1 children)

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 1 day ago

yeah I looked it up

this will be handy

~$ last reboot
~$ last -s -7days