How can I display all jobs that ended OK only?
When I try the command below, it shows both OK and NOTOK since both have \"OK\"
ctmpsm -listall applic
Try this:
Alex Misuno@hp4530s ~ $ cat test.txt 1 OK 2 OK 3 NOTOK 4 OK 5 NOTOK Alex Misuno@hp4530s ~ $ cat test.txt | grep ".* OK$" 1 OK 2 OK 4 OK