tr '[:upper:]' '[:lower:]' < file

Category: Administration

tr '[:upper:]' '[:lower:]' < file

Lowercase text using character classes

POSIX character classes in brackets handle locale-aware ranges, so [:upper:] maps cleanly to [:lower:] for any alphabet. This is more reliable than tr A-Z a-z for accented letters. Read from a file with the input redirect and write with an output redirect.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.