In Bash, the cut
command is useful for dividing a file into several smaller parts.
Option | Description |
—— | —— |-b LIST
, --bytes=LIST
| Print the bytes listed in the LIST parameter |-c LIST
, --characters=LIST
| Print characters in positions specified in LIST parameter |-f LIST
, --fields=LIST
| Print fields or columns |
-d DELIMITER
| Used to separate columns or fields