Wednesday, May 8, 2024
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 838  / 2 Years ago, wed, december 22, 2021, 11:36:05

Replace grep command with grep -n --colour?



is there anything similar for rgrep auto color?


More From » command-line

 Answers
3

add this line to your .bashrc in your home directory



alias rgrep="grep -n --colour"

[#28331] Thursday, December 23, 2021, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
rcraftemur

Total Points: 118
Total Questions: 119
Total Answers: 144

Location: Turks and Caicos Islands
Member since Sun, Mar 7, 2021
3 Years ago
rcraftemur questions
;