Commit f19f2100 authored by jtbr's avatar jtbr
Browse files

formatting

parent f21dd911
...@@ -1131,7 +1131,7 @@ _ss() { ...@@ -1131,7 +1131,7 @@ _ss() {
elif netstat -help 2>&1 | grep -- '-P protocol' >/dev/null; then elif netstat -help 2>&1 | grep -- '-P protocol' >/dev/null; then
#for solaris #for solaris
netstat -an -P tcp | grep "\.$_port " | grep "LISTEN" netstat -an -P tcp | grep "\.$_port " | grep "LISTEN"
elif netstat -help 2>&1 | grep "\-p" > /dev/null; then elif netstat -help 2>&1 | grep "\-p" >/dev/null; then
#for full linux #for full linux
netstat -ntpl | grep ":$_port " netstat -ntpl | grep ":$_port "
else else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment