Cut to the Unit of action in the file,according to the conditions you set, cut out some of the contents of the print. Output to standard output and will not be saved to any file
The-B range determines the range based on the byte-C range according to the character Range-F range determined by the setting field. The default is tab split field. Specified with-D.
The format of the range setting n cuts the contents of n bits. -N cuts the contents of the 1-n bit. N-Shear N-last-digit content. N-m cutting the contents of the N-M bit
-d ': ' Specifies the delimiter. -S prints only the rows that have separators present. --out=delimiter=string the output of the delimiter, which can be used to format the output.
The difference between-B and-C is the difference between a character and a byte. bytes are the smallest unit stored inside a computer. A character is a separate unit that has a meaning within the code. For example, a Chinese character in Chinese character coding or a punctuation mark, or a letter or punctuation inside a acsii code. So one word Fuken. Contains one or more bytes. That's the relationship.
Example: cut-d ': '-f 2-3-s/etc/passwd
The cut of shell programming