ODOC: printenv

printenv – Print All/Part of Environment


printenv prints environment variables with its Name and Value.


$ printenv — Print all Env variables and its value.

$ printenv HOSTNAME — Print HOSTNAME value.

$ printenv SHELL TERM — Print SHELL and TERM values.

Read: man printenv
printenv, odoc, linux,gnu/linux

in ODOC | 50 Words

ODOC: setfont

setfont — Load EGA/VGA console screen font.


The setfont command reads a font file and loads it into the EGA/VGA character generator and optionally outputs the previous font. It can also load various mapping tables and output the previous versions. The standard Linux font format is the PSF (PC Screen Format) font.


$ setfont — Load the default font.

$ setfont -v — Load the default font with verbose output.

$ setfont iso01.14 — Load the iso01 font (size=8×14).

/lib/kbd/consolefonts – Default Dir for console fonts.
/lib/kbd/unimaps – Default Dir for Unicode maps.
/lib/kbd/consoletrans – Default Dir for screen mappings.

Read the ReadMe files available in the above locations to get more information about the font and maps.

TIP: Set your default console font in /etc/sysconfig/i18n file.

Read: man setfont
setfont, linux, odoc, gnu/linux

in ODOC | 146 Words

ODOC: locale

locale — Get and show the locale-specific information.


The locale program writes information about the current locale environment, or all locales, to screen. Locale is a set of local environment settings, which is used to describe the Language Encoding Standard, Date/Time format, Number format, Telephone Number format, Paper format, etc …


$ locale — Show the current locale settings.

$ locale -a — List currently available locale settings.

$ locale -m — List currently available character encodings.

$ locale -c LC_TIME — Show values of the LC_TIME.

$ locale -k LC_TIME — Show the Name and Value of the LC_TIME.

Read: man locale
locale, odoc, linux, gnu/linux

in ODOC | 109 Words