locale
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
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.