convert single line output to multiple line

$ips="10.26.208.28 10.26.208.26 10.26.208.27"

echo $ips | tr -s " " "\n"
or
echo $ips|xargs -n1

result
10.26.208.28
10.26.208.26
10.26.208.27

How to list open ports and application using them in Windows

  netstat -abn or netstat -a -n -p tcp -o

Mais vistos