How do you cut a file in Linux?

Mỹ An

New member
How do you cut a file in Linux?
Answer
Each line of the file can be sliced and the required data can be retrieved easily by using
`cut` command
. It can also be used to cut text by delimiter or character or byte position.

…

Linux cut command examples.

Option tag

Description

–output-delimiter=STRING

Use STRING value as output delimiter.

-z or –zero-terminated

Use NULL as line delimiter.
 

Tìm kiếm

Back
Top