---

Remove Carriage Returns in Linux

Grabbing snippets of code can be a great way to save keystrokes. But sometimes, you end up spending as much time cleaning up your pasted code as you would have spent typing it fresh.  Good news is that Linux has multiple commands available to scrub away those pesky returns and line feeds.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis