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
Post a Comment