I'm looking some text in files , but three are a lot of files and searched text appears several times in one file, how can I receive a list of files that contains searched text with every file listed only once?
grep -l xyz file*
where xyz is the search pattern , and file* is the list of files to be searched in
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
3 years ago