![]() |
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 |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Awking!! Printing decimal output is struck | divzz | Shell Programming and Scripting | 4 | 05-28-2008 09:02 AM |
| can i do XML parsing usind sed | arunkumar_mca | Shell Programming and Scripting | 3 | 05-10-2007 06:13 AM |
| printing output more than 13 | Krrishv | Shell Programming and Scripting | 2 | 01-22-2007 05:35 AM |
| Printing to a Savin - Size of output wrong | h1timmboy | AIX | 2 | 02-28-2006 09:19 AM |
| Printing output to the monitor | jyotipg | Shell Programming and Scripting | 2 | 06-22-2004 06:41 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
printing portion of the output usind sed/awk
friends, i am a newbie in scripting. could someone help me in selecting only the last column of below ps command output ?
Code:
mqm 14 16466 0 Sep 15 ? 0:01 /opt/mqm/bin/runmqlsr -r -m QMGR.INBOUNDSSL -t TCP -p 1415 -i 5.1.26.5
mqm 12 16700 0 Sep 15 ? 0:00 /opt/mqm/bin/runmqlsr -r -m QMGR.EUMEA -t TCP -p 1414 -i 10.1.122.10
mqm 11 16472 0 Sep 15 ? 0:00 /opt/mqm/bin/runmqlsr -r -m QMGR.INBOUND -t TCP -p 1416 -i 5.1.26.5
I am looking for below output only :- Code:
/opt/mqm/bin/runmqlsr -r -m QMGR.INBOUNDSSL -t TCP -p 1415 -i 5.1.26.5 /opt/mqm/bin/runmqlsr -r -m QMGR.EUMEA -t TCP -p 1414 -i 10.1.122.10 /opt/mqm/bin/runmqlsr -r -m QMGR.INBOUND -t TCP -p 1416 -i 5.1.26.5 Last edited by vgersh99; 10-01-2009 at 12:33 PM.. Reason: code tags, PLEASE! |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|