Oracle Solaris System Administration (MOSC)

MOSC Banner

The "locale" command

edited Feb 1, 2012 2:06AM in Oracle Solaris System Administration (MOSC) 4 commentsAnswered
When I loggin a solaris system and issue the command "locale", where does it get the displayed locale from?

I have the following /etc/default/init

#

TZ=US/Central
CMASK=022
LC_COLLATE="en_US.ISO8859-1"
LC_CTYPE="en_US.ISO8859-1"
LC_MESSAGES="C"
LC_MONETARY="en_US.ISO8859-1"
LC_NUMERIC="en_US.ISO8859-1"
LC_TIME="en_US.ISO8859-1"

Once I log in, and issue `locale` I get the following:

501 x@bla{/users/x} locale
LANG=en_US.UTF-8
LC_CTYPE=en_US.ISO8859-1
LC_NUMERIC=en_US.ISO8859-15
LC_TIME=en_US.ISO8859-15

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center