this post was submitted on 14 Sep 2024
595 points (98.7% liked)

Programmer Humor

19184 readers
1087 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 1 year ago
MODERATORS
595
Sus (sh.itjust.works)
submitted 5 days ago by sjmarf to c/[email protected]
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 201 points 5 days ago (2 children)
[–] [email protected] 232 points 5 days ago

Embedded for convenience:

[–] [email protected] 185 points 5 days ago (2 children)

Wow TIL about the use of underscore in an interactive session.

[–] [email protected] 29 points 4 days ago

whaaaaaaaa this is so tight. I use an interactive session as a calculator on my pc and always wish there was a way to refer to the last result.

[–] [email protected] 8 points 4 days ago

$_ in bash is the most recent parameter Always look for the built in variables. They save time.