Well, even if it is more than one line it would be ok.
If I have to type 2-3 lines of code (I guess a shell script) it could be a solution.
It would be better to be able to learn the code by heart, but also print it, keep it in my wallet and type it in a shell everytime I need it could be ok.
It's not an operation I have to do very often, but when I need to do it (for work, when I go to a customer and I cannot install software for internal policies/security etc.) I need to quickly find out all the listening ports and which program uses them.
Main Topics
Browse All Topics





by: NukfrorPosted on 2006-02-23 at 06:23:48ID: 16028926
Unfortunately there is nothing default application in Solaris that gives you quickly the one-liner you are looking for. The closest thing there is is pfiles. But with pfiles you have to run it against every application running on the system and parse the output looking for open ports.
e.com/Oper ating_Syst ems/Solari s/ Q_208874 12.html posted by yuzh.
Basically what you saw here http://www.experts-exchang