How do I remove the first column from a file in Linux?

How do I remove the first column from a file 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.
6 февр. 2013 г.
 

Tìm kiếm

Back
Top