In this article let’s discuss about How to change line separator of a file ubuntu. Let’s go through the following methods without any delay.
sed -i.bak 's/\r$//' file.txt
Hope the above solution works.
Realted Posts : Error: snap “flutter” has “remove-snap” change in progress