dos2unix
dos2unix is a Linux command in the Text Processing category, rated beginner difficulty. Converts DOS/Windows line endings (CRLF) to Unix (LF). The syntax is dos2unix [options] file. It returns unix-format text file. A close relative is grep, which searches for patterns in files using regular expressions. A close relative is sed, which stream editor for filtering and transforming text. A close relative is awk, which powerful text processing language. Ideal for column-based data and reports. More about this category: Linux text processing commands — grep, sed, awk, sort, cut, tr, and more. Search, filter, transform, and format text content. Related Text Processing commands: grep, sed, awk, sort, uniq, wc, cut, tr. This page is part of the free Linux Reference documentation covering 304+ commands, each with syntax, options, practical examples, and a difficulty rating. Find dos2unix and the other essentials on the Linux cheat sheet, or return to the Linux Reference homepage.