![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| need help with User Defined Function | user_prady | Shell Programming and Scripting | 11 | 11-18-2007 08:51 PM |
| defined value not showing....in the result | happyv | Shell Programming and Scripting | 1 | 01-26-2007 04:58 AM |
| environment variable is not defined | alien12 | Linux | 0 | 02-09-2006 11:12 PM |
| pre defined variables | sumsin | High Level Programming | 7 | 11-30-2005 12:13 PM |
| User defined signal 1 | nitesh_raj | AIX | 0 | 01-29-2005 02:20 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
netstat -an | grep 1554 gives me the below
tcp4 0 0 *.1580 *.* LISTEN and from your reply, i gather the following: 1) server ports are mapped in /etc/services? 2) where is the client port defined? 3) from the output, this 1580 port is a listening port then? thanks! |
|
|||||
|
It is 'not possible' because you can't grep for a number in a line and get a line without the number (as you have written the command). (not a networking puzzle, a grep issue)
That is the puzzle......... the output of the grep command is not possible. |
|
||||
|
NEO, my understanding to your reply is that my command as below
netstat -an | grep 1554 contains the number 1554 BUT the output as belows has no 1554 but 1580 tcp4 0 0 *.1580 *.* LISTEN and according to u, there is NO WAY for this to happen....., right? Okay, i have made an typo error, the command and output should be as below netstat -an | grep 1580 gives me the below tcp4 0 0 *.1580 *.* LISTEN is this okay? back to my three little questions.. Thanks pal! |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|