Port listing Solaris and Linux


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Port listing Solaris and Linux
# 1  
Old 09-18-2014
Question Port listing Solaris and Linux

I'd like to list all ports and the services allocated to them:
1) What commands will do this on Solaris 10 and Linux?
2) Is there a file containing the port/service mapping?
# 2  
Old 09-18-2014
/etc/services lists what (default) ports are mapped to which services. There are various commands (netstat, telnet, nmap, etc.) to help identify which ports are open.
This User Gave Thanks to Scott For This Post:
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Listing strings from file using awr Linux Red Hat

Hi experts, I have a file "salida_test" containing (in repetitive way): Point ID 1.750251 Point Name >BRI_4L_SA2__INT Interruptor 33kV Parque Industrial < value 2 Time of last value update (ascii): >03/07/17 11:11:14.596 ART< TLQ 0000000c00004000 station #79 ... (6 Replies)
Discussion started by: carlino70
6 Replies

2. Solaris

How to find port number wwn of particular port on dual port HBA,?

please find the below o/p for your reference bash-3.00# fcinfo hba-port HBA Port WWN: 21000024ff295a34 OS Device Name: /dev/cfg/c2 Manufacturer: QLogic Corp. Model: 375-3356-02 Firmware Version: 05.03.02 FCode/BIOS Version: BIOS: 2.02; fcode: 2.01;... (3 Replies)
Discussion started by: sb200
3 Replies

3. Solaris

Solaris 10: Listing the memory usage based on UNIX user wise.

Hello All I have a Solaris 10 machine, wherein processes are run in various unix users. a. How do I list the memory usage per user? b. Can I get a top command kind of output per user rather than entire machine? Thanks Sunil Kumar (3 Replies)
Discussion started by: msgforsunil
3 Replies

4. UNIX for Dummies Questions & Answers

[Solved] How to remove listing of current user cmd from ps -ef listing?

Hi All, Could you please help to resolve my following issues: Problem Description: Suppose my user name is "MI90". i.e. $USER = MI90 when i run below command, i get all the processes running on the system containing name MQ. ps -ef | grep MQ But sometimes it lists... (8 Replies)
Discussion started by: KDMishra
8 Replies

5. UNIX for Dummies Questions & Answers

Help on ps tree listing command - Linux/Solaris

Hi all, Can any guru please help on how I can tweak the following ps command so that it only shows the lines that I wanted. $ command ps -HAcl -F S -A f F S UID PID PPID CLS PRI ADDR SZ WCHAN RSS PSR STIME TTY TIME CMD 4 S root 1 0 TS 24 - 2592 ? ... (3 Replies)
Discussion started by: newbie_01
3 Replies

6. Solaris

Listing application installed on a Solaris box

I am trying to list all the applications that is installed on my sun solaris box. I have used the command pkginfo but it only give me the applications that was bundled with solaris. This machine runs oracle and pkginfo command does not list that. Any idea to get to list all the applications... (1 Reply)
Discussion started by: ibroxy
1 Replies

7. Solaris

port on solaris 10

when i connecting an usb device to a ubuntu box. i know its on /dev/ttyUSB0 port from dmesg. and i can do simple command with minicom connect to the port. however when i connecting the same usb device to solaris 10 platform and i do dmesg. i get Oct 31 14:50:02 karma usba: USB 1.10 device... (7 Replies)
Discussion started by: conandor
7 Replies

8. Solaris

Solaris 8 to many open port

hi all, My OS is solaris 8 with core system installation only. so far everything works fine. by i do some testing from my xp pc as client to nmap and scan opening port to my solaris. the result as below: Initiating SYN Stealth Scan against 10.10.10.10 at 16:25 Discovered open port 21/tcp on... (3 Replies)
Discussion started by: hezry79
3 Replies

9. UNIX for Dummies Questions & Answers

what is the command for listing the device specs in solaris

Im looking to get the statistics on a machine memory, cpu speed drive size etc thanks in advance (3 Replies)
Discussion started by: simplimarvelous
3 Replies
Login or Register to Ask a Question