What command would I use to find all regular files under th

What command would I use to find all regular files under ~ that contain the whole word \"Harumph\" at the end of a line?

(I am using Linux Mint)

Solution

grep -r \".*Harumph\ \" .*

-r will recersively search the directories

\".*text\ \" a line ending with text.

.* all directories

What command would I use to find all regular files under ~ that contain the whole word \

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site