how to join lines in a file in Linux?

1) tr “n” ” ” < filename 2) cat filename | tr -d “n” 3) cat filename | tr “n” ” “ 4) paste -s -d ” ” filename

Add Comment

Required fields are marked *. Your email address will not be published.