Shell Script Remove All Blank Links

Use the following ‘awk’ command to remove all blank lines from a file:

awk ‘NF > 0’ filename