User Tools

Site Tools


bash:files:display_a_specific_field_of_each_line_in_a_file

BASH - Files - Display a specific field of each line in a file

To display the 5th field use:

awk '{print $5}' filename
bash/files/display_a_specific_field_of_each_line_in_a_file.txt · Last modified: 2022/06/13 11:08 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki