locale

NAME

locale - get locale-specific information

SYNOPSIS

locale [-ck] name ...
locale [-a] [-m]

DESCRIPTION

The locale(1) utility writes information to standard-output about the current locale.

The options are as follows:

-a
Write the names of all public available locales. Currently, only the C and POSIX locales are available.
-c
Write the name of the selected locale categories.
-k
Write the names and values of selected locale category keywords.
-m
Write the names of all available character maps.

Refer to the POSIX.2 standard for a complete discussion of the locale categories and keywords.

DIAGNOSTICS

The locale(1) utility exits 0 on success, and >0 if an error occurs.

SEE ALSO

localedef(1)