mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-30 21:41:38 +00:00
26 lines
473 B
Plaintext
26 lines
473 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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`
|