Consider the resume summary of a candidate below: $ cat cvsum. In-depth knowledg
ID: 3785279 • Letter: C
Question
Consider the resume summary of a candidate below: $ cat cvsum. In-depth knowledge of UNIX systems security and secure system access programs. Comprehensive knowledge of UNI operating systems like Solaris, Red Hat Linux, HP-UX SUSE Linux, Ubuntu and other Unix distributions. Advance knowledge of UNIX development and programming methods and procedures. Possess strong management, problem solving and customer service skills. Excellent oral and written communication skills. Ability to build and maintain good rapport with clients and colleagues You are a lazy recruiter (don't feel bad, most recruiters are) and don't want to read through the whole summary. Show how you can use grep to print only those lines matching your desired skill set. You are interested in candidate with: UNIX credentials "customer service" skillsExplanation / Answer
Using the following grep AND command we can find lines both UNIX and Customer service patterns in single line.
grep -E 'UNIX.*Customer service| Customer service.*UNIX' resume.txt
Using the following grep OR command we can find lines UNIX or Customer service pattern in single line.
grep -e UNIX -e Customer service resume.txt
But in this we suited the second one i.e grep OR