Languages
[Edit]
EN

How to convert Windows text file to Unix or Linux text file?

13 points
Created by:
Root-ssh
6417

Using Notepad++ it is possible to convert Windows text file to Unix / Linux file in following way.

1. Instruction how to convert Window text file to Unix / Linux text file.

  1. Open Windows text file.
    Windows text file - Windows end line symbols visible at end of each line.
    Windows text file - Windows end line symbols visible at end of each line.

     Note: to show all characters use View->Show Symbols->Show All Characters - this option has been enabled to see new line characters.

  1. Click Edit->EOL Conversion->Unix (LF)
    EOL means End of Line
    EOF conversion example with Notepad++.
    EOF conversion example with Notepad++.
    Unix / Linux text file - Unix / Linux end line symbols visible at end of each line.
    Unix / Linux text file - Unix / Linux end line symbols visible at end of each line.
  2. Save Unix / Linux text file

 

Hey 👋
Would you like to know what we do?
  • Dirask is a friendly IT community for learners, professionals and hobbyists to share their knowledge and help each other in extraordinary easy way.
  • We welcome everyone,
    no matter what the experience,
    no matter how basic the question is,
    this community will help you.