Test if param is not empty

test if param is not empty bash

Test if $1 has value
[ -n "$1" ] && echo $1 || echo param is empty

How to list open ports and application using them in Windows

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

Mais vistos