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:
grep -P '^(tomcat!?)' tst1.txt
It will search for specific word in txt file. Here we are trying to search word tomcat
tomcat