How do I cut a line in Linux?

How do I cut a line in Linux?
Answer
cut command in Linux with examples
  1. -b(byte): To extract the specific bytes, you need to follow -b option with the list of byte numbers separated by comma. …
  2. -c (column): To cut by character use the -c option. …
  3. -f (field): -c option is useful for fixed-length lines.
 

Tìm kiếm

Back
Top