variable

LC_ALL

Override category-specific locale variables and LANG for the command environment.

Formal Syntax & Structure

bash syntaxbash
LC_ALL=C command

Return Value

locale selection

Override category-specific locale variables and LANG for the command environment.

Working Example

Example Snippetbash
printf '%s\n' z A a Z | LC_ALL=C sort
Bash Reference