You need to use grep command. grep searches the given input FILEs for lines containing grep command form (syntax)amatch or a text string. grep “text string to search” directory-path Examples For example search for a string called redeem reward in all text files located in /home/tom/*.txt directory, use $ grep “redeem reward” /home/tom/*.txt Task: Search…