this post was submitted on 05 Aug 2025
1231 points (99.1% liked)

Programmer Humor

25699 readers
1432 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 2 years ago
MODERATORS
1231
Peak security (lemmy.world)
submitted 1 week ago* (last edited 1 week ago) by qaz@lemmy.world to c/programmer_humor@programming.dev
 

^This^ ^is^ ^a^ ^joke,^ ^I^ ^didn't^ ^really^ ^lock^ ^myself^ ^out^

you are viewing a single comment's thread
view the rest of the comments
[–] Itdidnttrickledown@lemmy.world 7 points 1 week ago (1 children)

Yeah except it would be iptables-restore < old_fw_rules.bak

[–] piefood@feddit.online 13 points 1 week ago* (last edited 1 week ago) (1 children)

Fun fact: When you do iptables-save, you have to redirect the output if you want to save it to a file. But when you use iptables-restore, you don't need to pipe it back in, you can just use the filename!

[–] Itdidnttrickledown@lemmy.world 6 points 1 week ago (1 children)

It wasn't always that way. At one time you had to so I still do.

[–] piefood@feddit.online 6 points 1 week ago

Totally! I still catch myself doing that sometimes. Old habits die hard