[pappy@chmodx]:$ man cut

$ cut

Remove sections from each line of files

DOCUMENTEDSearch & textUbuntu 24.04 LTS baseline

Synopsis

cut OPTION... [FILE]...

What it does

Examples

Print the first field separated by ':'
cut -d: -f1 /etc/passwd
Print characters 1 through 10
cut -c1-10 file.txt

Important details

These examples are intentionally conservative. Command behavior can still depend on filesystem state, permissions, locale, shell, installed package version, and other system configuration. For exact option semantics, the linked authoritative documentation is the source of truth.