Colorful grep
To make grep outputs colorful, just --color parameter:
grep --color=auto
You can make an alias for this if you want this behaviour default:
alias grep='grep --color=auto'
or putting following line in your .bashrc file:
GREP_OPTIONS='--color=auto'
- 0 Comment
- Murat Demirten
- 16 Apr 2008, 16:24
-
You must be login first or sign-up for an account to post comments.
Maybe you should look at these also:
USERBOX
CATEGORIES
MOST READ TODAY
- Enabling remote desktop on a VirtualBox Machine
- Redirecting tcp / udp ports with socat
- dropbear rsa key problem
- XFS Filesystem has duplicate UUID problem
- Recovering mysql root password
- Remove all frozen messages from exim mail queue
- Users with /bin/false shell to login on vsftpd
- Rewriting destination ip address
- Passwordless sudo setup
- Using iPhone internet sharing over bluetooth under Linux
LAST ADDED
- Using iPhone internet sharing over bluetooth under Linux
- Using USB sound card with amarok
- Multi-conditional search and replace (clearing a ftp trojan script example)
- Disabling ipv6 functionality
- How to convert a mp3 file
- How to choose the fastest Debian mirror
- Disabling reverse dns lookups in ssh
- Rewriting destination ip address
- Deleting A File By It's Inode Value
- Learning which libraries are used for a binary
