Rodolfo Bandeira
Home Blog Posts Photos Videos Github Contact
<< All Posts
Replace white spaces to underline in a text file on UNIX

May 31, 2013


sed "s, ,_,g" file.txt

To more informations about sed, please type the best command:

man sed

Or just google it.



<< All Posts

Previous post:
Go to the last directory using command CAT on Linux
Most recent post:
How to run the last command you used on UNIX

rodolfo.io 🇧🇷 🇨🇦

Runs on OpenBSD 🐡
Twitter Github Linkedin RSS