Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
e3c66532
Commit
e3c66532
authored
Aug 10, 2016
by
neil
Browse files
Support Solaris
parent
22ea4004
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
e3c66532
...
...
@@ -423,7 +423,7 @@ _ss() {
netstat
-an
-p
tcp |
grep
LISTEN |
grep
":
$_port
"
elif
netstat
-help
2>&1 |
grep
--
'-P protocol'
>
/dev/null
;
then
#for solaris
netstat
-an
-P
tcp |
grep
"
\.
$_port
"
netstat
-an
-P
tcp |
grep
"
\.
$_port
"
|
grep
"LISTEN"
else
netstat
-ntpl
|
grep
":
$_port
"
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment