I am looking for a tool which takes a file in input and a word to search. It should display the file with color the words if it corresponds to the search.
grep --colors but displays all the file.
Is there something already exists ?
cat /etc/passwd | colors root
Display all /etc/passwd file and color the words "root"
If I can change the color easily it would be great !