shell-script-pt
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [shell-script] portas


From: Felipe Kellermann
Subject: Re: [shell-script] portas
Date: Sun, 17 Apr 2005 09:27:20 -0300 (BRST)
User-agent: Pine <http://www.washington.edu/pine/>

On Sun, 17 Apr 2005 2:11pm  -0300, Clébio wrote:

> 
> Eu não gostaria de depender de outros programas
> que não os nativos do linux!
> 
> O script rodaria local no caso, não remoto.

$ netstat -natu |
% awk '
% ($6 = /LISTEN/) {
%     split($4, endereco, ":"); 
%     print endereco[2]
% }'
1
2628
37
7
13
111
19
21
10005
22
23
1245
7101
$

-- 
Felipe Kellermann


reply via email to

[Prev in Thread] Current Thread [Next in Thread]