mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-01 13:42:32 +00:00
26 lines
500 B
Plaintext
26 lines
500 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 {{[-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`
|