Linux CLI - Text Processing
Which
awk command prints the last field of each line in a file?awk command prints the last field of each line in a file?awk$NF refers to the last field of the current line.print $NF which prints the last field. Other options print first field, number of fields, or whole line.$NF prints last field [OK]15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions