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.
expand [options] [files]
Convert tabs in given files (or standard input, if the file is named -) to appropriate number of spaces; write results to standard output.
tabs is a comma-separated list of integers that specify the placement of tab stops. If exactly one integer is provided, the tab stops are set to every integer spaces. By default, tab stops are eight spaces apart. With -t and --tabs, the list may be separated by whitespace instead of commas.
Convert tabs only at the beginning of lines.
Print help message and then exit.
Print version information and then exit.