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 {{[-a|--all-locales]}}
- Display all available locales and the associated metadata:
locale {{[-a|--all-locales]}} {{[-v|--verbose]}}
- Display the current date format:
locale date_fmt