How do I remove the first column in Linux?

Tam ca

New member
How do I remove the first column in Linux?
Answer
Explanation:
  1. cut : invoke the cut command.
  2. -d ” ” : use a single space as the delimiter ( cut uses TAB by default)
  3. -f : specify fields to keep.
  4. 3- : all the fields starting with field 3.
  5. input_filename : use this file as the input.
  6. > output_filename : write the output to this file.
 

Tìm kiếm

Back
Top