how to cut last word out of a line bash code example Example: grep last word in line awk 'NF>1{print $NF}'