Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
50a4ef9c
Commit
50a4ef9c
authored
Mar 23, 2016
by
neil
Browse files
minor fix
parent
ccb96535
Changes
1
Hide whitespace changes
Inline
Side-by-side
le.sh
View file @
50a4ef9c
...
...
@@ -185,7 +185,7 @@ _ss() {
_debug
"Using: netstat"
if
netstat
-h
2>&1 |
grep
"
\-
p proto"
>
/dev/null
;
then
#for windows version netstat tool
netstat
-nb
-p
tcp |
grep
:
$_port
" "
netstat
-
a
nb
-p
tcp |
grep
"LISTENING"
|
grep
:
$_port
" "
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