Cut Command
suggest changeIntroduction
In Bash, the cut command is useful for dividing a file into several smaller parts.
Syntax
- cut [option] file
Parameters
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
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents