How do we remove newlines in a test.txt file so that the text now appears on a single line using tr,awk or sed?
E.g
My name is mo
Learning linux
live in CAD
If I want that text to appear on one line and save it to a new file called passed.txt. What command should I run?