0

Running a program gives some error messages such as these “ERROR File 'DATA/vgg16.npy' not found. I know this exact sentence should appear in one or more files under a given directory, which may have multiple subdirectories. Which linux command can help me identify the files as well as locations (line number) where that sentence is located.

1 Answers1

0

Use this command

grep -r -H 'yourcharacter'

yourcharacter indicates the particular character for which you are looking for in a file.

the above command will give you the file path of a particular character.