Delimited:
The delimiter in the below examples is :
.
- Show field 1:
cut -f 1 -d : /etc/password
- Show field 2 and sort results numerically:
cut -f 2 -d : /etc/password | sort -n
- Show all fields after field 1:
cut -d: -f 2:
- Show fields 1 through 2:
cut -d : -f1-2
Miscellaneous:
- Cut 10 from start of line:
cut -c -10