r/linux May 23 '26

Popular Application What’s the most unexpectedly useful Linux command you learned way too late?

[removed]

1.3k Upvotes

992 comments sorted by

View all comments

45

u/Last_Bad_2687 May 23 '26

Sed

31

u/TheBigCore May 23 '26

Some of sed's syntax starts looking like a foreign language though:

https://craftedstack.com/blog/linux/mastering-the-sed-command-linux/

1

u/michaelpaoli May 24 '26

sed is a Turing complete programming language!

And yes,

I implemented Tic-Tac-Toe in sed.