How to find out line-endings in a text file?

You can use the file utility to give you an indication of the type of line endings. Unix: $ file testfile1.txt testfile.txt: ASCII text “DOS”: $ file testfile2.txt testfile2.txt: ASCII text, with CRLF line terminators To convert from “DOS” to Unix: $ dos2unix testfile2.txt To convert from Unix to “DOS”: $ unix2dos testfile1.txt Converting an … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)