SyntaxFix
Write A Post
Hire A Developer
Questions
Not the actual issue here, but might help some one: I was doing awk "{print $NF}", note the wrong quotes. Should be awk '{print $NF}', so that the shell doesn't expand $NF.
awk "{print $NF}"
awk '{print $NF}'
$NF