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 ?

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 :-

/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

using either grep/awk/sed.any pointers are highly appreciated.

echo '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' | sed 's#[^/]*\(/.*\)#\1#'

---------- Post updated at 11:33 AM ---------- Previous update was at 11:33 AM ----------

To keep the forums high quality for all users, please take the time to format your posts correctly.

First of all, use Code Tags when you post any code or data samples so others can easily read your code. You can easily do this by highlighting your code and then clicking on the # in the editing menu. (You can also type code tags

```text
 and 
```

by hand.)

Second, avoid adding color or different fonts and font size to your posts. Selective use of color to highlight a single word or phrase can be useful at times, but using color, in general, makes the forums harder to read, especially bright colors like red.

Third, be careful when you cut-and-paste, edit any odd characters and make sure all links are working property.

Thank You.

The UNIX and Linux Forums

Another one:

<command> | sed 's_[^/*]*__'

a typo I reckon - you don't need an 'inner' '*':

<command> | sed 's_[^/]*__'

thanks a lot vgersh99,Franklin52 for quick and prompt response.hmm I need to really understand the command now..