User Tools

Site Tools


bash:files:remove_a_field_from_each_line_in_a_file

This is an old revision of the document!


BASH - Files - Remove a field from each line in a file

Remove the second field in each line and then print it.

awk '{ $1 = ""; print }' filename
bash/files/remove_a_field_from_each_line_in_a_file.1655119385.txt.gz · Last modified: 2022/06/13 11:23 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki