1. Home
  2. Computing & Technology
  3. Linux
Linux / Unix Command: locale
Command Library

NAME

locale - Get locale-specific information.  

SYNOPSIS

locale [ -a | -m]

locale [ -ck ] name...  

DESCRIPTION

The locale program writes information about the current locale environment, or all locales, to standard output.

When invoked without arguments, locale summarizes the current locale environment for each locale category defined by the LC_* environment variables.

-a, --all-locales

        Write names of available locales.


-m, --charmaps

        Write names of available charmaps.


 

Output Format:

-c, --category-name

        Write names of selected categories.


-k, --keyword-name

        Write names and values of selected keywords.


 

Important: Use the man command (% man) to see how a command is used on your particular computer.

>> Linux/Unix Command Library

>> Shell Command Library

Explore Linux
About.com Special Features

The Best Web Trends of the Decade

A look back at the best innovations, ideas and technologies over the last 10 years, More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. Linux

©2009 About.com, a part of The New York Times Company.

All rights reserved.