andy_shev: (Default)
[personal profile] andy_shev
To use colored grep you could put the next to your ~/.bash_profile or ~/.profile:

export GREP_COLOR='31' # red
#export GREP_COLOR='34' # blue
alias grep='grep --color=auto'



It works on Fedora 9, and on Ubuntu 7.10 (at least on the terminal which is connected to it via ssh).

Date: 2009-01-13 09:38 pm (UTC)
From: [identity profile] ilya-dogolazky.livejournal.com
connected to what?

Date: 2009-01-13 10:05 pm (UTC)
From: (Anonymous)
works in FreeBSD as well

Profile

andy_shev: (Default)
Andy Shevchenko

March 2025

S M T W T F S
      1
2345678
9101112131415
16171819202122
23242526272829
3031     

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 3rd, 2025 03:08 pm
Powered by Dreamwidth Studios