chfont Command
Purpose
Changes the default font selected at boot time.
Syntax
chfont [ FontID ]
Description
The chfont command changes the font used by a display at system restart.
To see a list of available fonts with their respective font ids, font names, the glyph size and the font encoding, see the lsfont command. For an example of the listing displayed, see the lsfont command example listing.
You must have root authority to run this command.
Note: This command can be used only on an LFT (Low Function Terminal).
You could also use the System Management Interface Tool (SMIT) smit chfont fast path to run this command.
Parameter
Item | Description |
---|---|
FontID | The font id of the new font. |
Examples
To change the font used by this display to the third font in the font palette, enter:
chfont 2
Files
Item | Description |
---|---|
/bin/chfont | Contains the chfont command. |
/usr/lpp/fonts | Contains the font directory. |