While loop only processes the first entry – askubuntu.com

So I don't know much about bash and need some pro help. I am trying to run a script like this one: filename='file1' while read p; do ssh -p 2222 $p 'who -b' | awk '{print $(NF-1)" "$NF}' >> ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

0 Comment to "While loop only processes the first entry – askubuntu.com"