Cognizant interview question

Linux commands grep and SED