How do I cut to the second column in Linux?

How do I cut to the second column in Linux?
Answer
Use pipes to send your data (e.g, cat columns. txt) into cut. In the example data you provided, a single space delimiter puts the data you want in field 5. To send that output into another file use redirection.
 

Tìm kiếm

Back
Top