Cut (Unix Command)

Wikipedia on cut:

"Cut is a Unix command line utility which is used to extract sections from each line of input — usually from a file."

Syntax

General

cut [options] <file_name>

Display Certain Characters

cut -c startNumberRange-endNumberRange <file_name>
e.g.
cut -c 4-10 <file_name>
//displays the 4th through 10th characters

Display Certain Fields

cut -f field1,field2...fieldN <file_name>
e.g. 
cut -f 1 <file_name>
//displays the 1st field (separated by tabs)
cut -f fieldA-fieldB <file_name>
e.g. 
cut -f 3-7 <file_name>
//displays the 3rd through 7th fields (separated by tabs)
cut -f fieldA - <file_name>
e.g. 
cut -f 3- <file_name>
//displays all fields from the 3rd to the last (separated by tabs)

Separate by Other Characters

cut -d '<CHAR>' -f fieldA <file_name>
e.g. 
cut -d ' ' 1 <file_name>
//displays the 1st field (separated by spaces)

Use

Cut is useful for separating files into fields (or 'columns') and for quickly chopping up bits of a file when each line is regularly spaced.