locale Command Examples
Get locale-specific information. More information: https://manned.org/locale.
- List all global environment variables describing the user's locale:
locale
- List all available locales:
locale --all-locales
- Display all available locales and the associated metadata:
locale --all-locales --verbose
- Display the current date format:
locale date_fmt