User Tools

Site Tools


bash:files:delete_a_field_from_each_line_in_a_file

BASH - Files - Delete 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/delete_a_field_from_each_line_in_a_file.txt · Last modified: 2022/06/13 11:25 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki