1290
Linux Users (lemmy.ml)
you are viewing a single comment's thread
view the rest of the comments
[-] disobey2623@lemmy.dbzer0.com 2 points 1 week ago

You saying I can just skip cat in that command and it works?

[-] x00z@lemmy.world 8 points 1 week ago

history | grep 'cat'

[-] neox_@sh.itjust.works 5 points 1 week ago
[-] disobey2623@lemmy.dbzer0.com 4 points 1 week ago

How did I not know this. Thank you!

[-] oozynozh@sh.itjust.works 2 points 1 week ago

it's grep STRING FILE to be precise

or awk '/STRING/′ FILE if you prefer that for some reason

this post was submitted on 24 Sep 2025
1290 points (100.0% liked)

Programmer Humor

26715 readers
1084 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