Default to highlighting search string when using grep by adding the below alias to ~/.bashrc file:
alias grep='grep --color=auto'
- sandip's blog
- Login or register to post comments
Default to highlighting search string when using grep by adding the below alias to ~/.bashrc file:
alias grep='grep --color=auto'