Cut
lastmod 2026-02-06created 2015-10-304 edits
Can split string fields.
Example
It can be used as follows.
## Field 1:
$ cut -f1 input
## Field 1:
$ cut -f2 input
Checksum example
$ shasum -a 256 $file | cut -d ' ' -f1
Text Processing Commands
| List of text processing commands |
| Text | Common | grep, sed, awk, cat, xargs, rev, tee, ack, tr, stdbuf, split | | Diff | diff, patch | | | Cutting | cut, head, tail, less, more, split, watch | | | Sort | uniq, sort | | | Hash | base64, md5sum, sha1sum, sha224sum, sha256sum, sha384sum, sha512sum | | | Clipboard | clip (Windows), pbcopy (Mac OSX), pbpaste (Mac OSX), xclip (Debian) | | | E.T.C | regexp, parallel | | |