linux - "Find" command: highlight matching literal parts -


i use find lot, using -name or -iname parameters.

i highlight matching part in files finds (like grep does).

for example: find . -iname "*foo*" highlight instances foo

i know pipe grep i'd rather not write 2 commands each time.

is there simple way it?

eg. this:

find /home/ -type f | grep -i --color=always *.cpp 

Comments

Popular posts from this blog

html - Difficulties with background-image property -

visual studio code - What does the isShellCommand property actually do and how should you use it? -

ios - Segue not passing data between ViewControllers -