Linux Command Directory
This directory of Linux commands is from Linux in a Nutshell, 5th Edition.
Click on any of the 687 commands below to get a description and list of available options. All links in the command summaries point to the online version of the book on Safari Bookshelf.
Set terminal attributes by writing a character string to standard output to invoke the specified attributes.
For Boolean options, the default value is on. Where 8-color is specified, the possible colors are black, red, green, yellow, blue, magenta, cyan, and white. Where 16-color is specified, the possible colors include the 8-color colors, plus grey, bright red, bright green, bright yellow, bright blue, bright magenta, bright cyan, and bright white.
Set cursor key application mode on or off. Virtual consoles only. Can cause problems with vi.
Write a snapshot of virtual console num to the file specified with the -file option, appending the snapshot to any existing contents. With no argument, write a snapshot of the current virtual terminal.
Set background color. Virtual consoles only.
Set the bell frequency in Hz (default 0).
Set the delay before the screen blanks to the specified number of minutes. Virtual consoles only.
Set the bell duration in milliseconds (default 0).
Turn blinking mode on or off. If the terminal is not a virtual console, -blink off also turns off bold, half-bright, and reverse modes.
Turn bold on or off. If the terminal is not a virtual console, -bold off also turns off blink, half-bright, and reverse modes.
Clear the screen.
Clear from the current cursor position to the end of the screen.
With no arguments, clear all tab stops. Otherwise, clear the specified tab stops. Virtual consoles only.
Turn the cursor on or off.
Set rendering options to defaults.
Write a snapshot of virtual console num to the file specified with the -file option, overwriting any existing contents. With no argument, dump the current virtual console. Overrides -append.
Write output from the -dump or -append option to the specified file. If no filename is specified, write to the file screen.dump in the current directory.
Set foreground color. Virtual consoles only.
Turn half-bright (dim) mode on or off. If the terminal is not a virtual console, -half-bright off also turns off bold, blink, and reverse modes.
Set color for half-bright characters. Virtual consoles only.
Display the terminal initialization string to reset the rendering options and other attributes to their defaults.
Invert the screen colors, swapping foreground and background, and underline and half-bright. Virtual consoles only.
Turn line-wrapping on or off. Virtual consoles only.
Enable or disable the sending of kernel printk( ) messages to the console. Virtual consoles only.
Set the console logging level for kernel printk( ) messages. The value of num can be in the range 0-8. Messages more important than the specified number are printed, with 8 printing all kernel messages, and 0 equivalent to -msg on. Virtual consoles only.
Set the VESA powerdown interval to the specified number of minutes, from 0-60. If no value is specified for min, defaults to 0, disabling powerdown.
Put the monitor in the specified VESA powersave mode. Specifying no mode is equivalent to off. The possible values of mode are:
vsynch suspend mode.
hsync suspend mode.
Turn off VESA powersaving features.
Clear all existing tab stops and set a regular tab stop pattern at every num number (default is 8). num is a number in the range 1-160. Virtual consoles only.
Turn keyboard repeat on or off. Virtual consoles only.
Display the terminal reset string to reset the terminal to its power-on state.
Turns reverse-video mode on or off. If the terminal is not a virtual console, -reverse off also turns off bold, half-bright, and blink modes.
Store the current rendering options as the defaults. Virtual consoles only.
Set tab stops at the specified cursor positions, which can range from 1 to 160. Virtual consoles only.
Replace the value of the TERM environment variable with term.
Set color for underlining. Virtual consoles only.
Turn underlining on or off.