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

Re: Program PORT ?



On Thu, Apr 29, 2004 at 02:46:01AM -0400, Kevin Mark wrote:
> On Thu, Apr 29, 2004 at 10:56:39AM +0800, Support wrote:
> > Dear: Debian Users
> > 
> > 
> > What is the command to check which PORT is currently use in my Linux 
> > Server...?
> > 
> > 
> > 
> > Best Regards,
> > SKLIM
> > 
> > 
> > -- 
> Hi,
> your question is not clear. But I think this may be of help.
> To find the kernel version do:
> uname -a
> To find what distribution you are using do:
> cat /etc/issue
> to find what version a package is do:
> apt-cache info <packagename>
> or
> apt-cache policy <packagename>
> 
> -Kev

Or is it he wants to know the open ports? In that case I would suggest nmap.
$su -c "apt-get install nmap"
$su -c "nmap -p 1-65535 YourIPaddress"

--
HTH
ian



Reply to: