![]() Default encoding of Windows Files are UTF-16 but in Linux, UTF-8 is used.End of line is specified with Carriage Return `CR` followed by Line Feed `LF` in Windows but In Linux, only Line Feed `LF` is used.$ sudo dnf install dos2unix dos2unix Fedora, CentOS, RedHat Hidden Characters ProblemĪs stated previously there are some characters which are not used in Linux text files but used in Windows text files. $ sudo apt install dos2unix dos2unix Ubuntu, Debian, Mint, Kali Fedora, CentOS, RedHat ![]() We will use apt command and dos2unix package name for installation. Install dos2unixĪs dos2unix tool is a very simple tool we can install it for different Linux distributions like below easily. If we want to use a text file which is created or edited in Windows or MS-DOS environment in Linux we need to change the text file into Linux format with the dos2unix tool. While using these platforms to edit and read text file there will be problems. Different operating systems like Linux and Windows have different text file formats which are not compatible with each other.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |