Cut's job is to "cut", specifically in the document is responsible for cutting the data used. Cut is a processing object with each action, and this mechanism is the same as SED
(1) The syntax format is:
Cut [-bn] [file] or cut [-c] [file] or cut [-DF] [file]
Main parameters
-B: Split in bytes. These byte locations will ignore multibyte character boundaries unless the-n flag is also specified.
-C: Split in characters.
-D: Custom delimiter, default is tab.
-F: Used with-D to specify which area to display.
annotations:
cut command cuts bytes, characters, and fields from each line of the file and writes those bytes, characters, and fields to standard output.
If you do not specify a File parameter, the Cut command reads standard input. One of the-B,-C, or-f flags must be specified.
This article is from the "10858195" blog, please be sure to keep this source http://10868195.blog.51cto.com/10858195/1944139
Linux Basics Command--cut