CodeX
Published in

CodeX

My favorite Linux command (that I never use)

Disclaimer: All opinions are my own

Photo by Karolina Grabowska from Pexels

Are you familiar with sed on Linux? If you’re not, you really should be!

It’s a potent little tool with several different functions, but the one I want to talk about today is the replacement feature.

Say you’ve got a file day.textabout your day, for example

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Brian Olson

Brian Olson

Engineer, formerly at Amazon, currently at Google. All opinions are my own. Consider supporting here: https://devblabs.medium.com/membership