Skip to main content
Kill -9 Club
Sign in

cut

TextPackage: coreutils

Extracts columns from text, by character or by field with -d and -f. Enough for /etc/passwd; awk takes over when the separator is a variable run of spaces.

What its options do in the lessons

From the same glossary the lessons render under their commands, so the two cannot disagree.

cut -d
The field delimiter.
cut -f
Which fields to keep. -f2- keeps the second and everything after it.

Lessons that teach it

No lesson names it among its useful commands; it appears inside other lessons' command lines.

cut — command reference | Kill -9 Club