Colorize grep output

grep --color -E 'pattern|$' file

0
By: alikhalil
2021-07-05 16:19:25

What Others Think

Since childhood, Mr. Lu Xun in his desk now on a "morning", this style started to affect the students of history, several generations of renewal and transformation, we have become on the desks of the "culture" A. [url=https://www.webreviewsite.com/voipphone]voip phone service[/url]
wawajim1 · 3 weeks and 3 days ago
A very interesting website. https://www.webreviewsite.com [url=https://www.webreviewsite.com/voipphone]voip phone[/url] voip phone
wawajim1 · 3 weeks and 3 days ago
A very awesome blog post. We are really grateful for your blog post. You will find a lot of approaches after visiting your post. I was exactly searching for. Thanks for such post and please keep it up. Prepaid Gift Balance
Dishman578 · 3 weeks and 3 days ago
tailf file |grep --color -E 'pattern|$'
0x5c0f · 3 weeks and 2 days ago
`tailf file |grep --color -E 'pattern|$' `
0x5c0f · 3 weeks and 2 days ago
Thanks for sharing this information. I really like your blog post very much. You have really shared an informative and interesting blog post with people. cookie clicker
geometrydashfree · 3 weeks and 2 days ago
A very awesome blog post. We are really grateful for your blog post. You will find a lot of approaches after visiting your post. I was exactly searching for. Thanks for such post and please keep it up. dgcustomerfirst
Mason557 · 3 weeks and 2 days ago
grep [options] PATTERN [FILE...] grep [options] [-e PATTERN | -f FILE] [FILE...] The grep command searches the named input files for lines containing a match to a given pattern. The egrep ... Regular expressions for grep and egrep Regular expression Plain Extended Meaning . mapquest driving directions
AnnaX · 3 weeks and 2 days ago
Thanks for this great blog of yours. I am amazed of what you've share. This is so informative. Keep sharing with us. bathroom suppliers cairns qld
johnlead · 3 weeks and 1 day ago
Thanks so much for sharing this great information! I look forward to seeing more of your posts! wuxiaworld
among · 2 weeks and 6 days ago
Search grep on google[url=https://www.bbcode.org/]This be bbcode.org![/url]
epoxyqld · 2 weeks and 5 days ago
But on whether what she pursues is what she likes. We evaluate the success of any person not on material conditions?and what she gives up is what prevents her from realizing her dream. I very much agree with this sentence, life and work, we choose to work because of life, and work makes us neglect life. When you want to get promoted, you have to sacrifice more of your private time to work. virtual phone A very interesting website
toptopweb · 2 weeks and 2 days ago
Great blog !! You should start many more. I love all the info provided. I will stay tuned. https://www.lakemacquariekitchenrenovations.com.au/
gaby1234 · 2 weeks and 1 day ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands



Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: