{"id":10039,"date":"2006-04-07T23:17:47","date_gmt":"2006-04-07T20:17:47","guid":{"rendered":"https:\/\/mamchenkov.net\/wordpress\/2006\/04\/07\/gnu-grep-can-be-colorful\/"},"modified":"2006-04-07T23:17:47","modified_gmt":"2006-04-07T20:17:47","slug":"gnu-grep-can-be-colorful","status":"publish","type":"post","link":"https:\/\/mamchenkov.net\/wordpress\/2006\/04\/07\/gnu-grep-can-be-colorful\/","title":{"rendered":"GNU grep can be colorful"},"content":{"rendered":"<!-- google_ad_section_start -->\n<p>Yet another of those tiny things that I wish I discovered a billion years ago &#8211; GNU <code>grep<\/code> supports color.\u00c2\u00a0 Yup, that&#8217;s right.\u00c2\u00a0 You can actually have your matches nicely highlighted in the results.\u00c2\u00a0 All you have to do to use this beauty is run <code>grep --color<\/code> instead of just <code>grep<\/code>. (Hint: an alias might be in order.)<\/p>\n<!-- google_ad_section_end -->\n","protected":false},"excerpt":{"rendered":"<!-- google_ad_section_start -->\n<p>Yet another of those tiny things that I wish I discovered a billion years ago &#8211; GNU grep supports color.\u00c2\u00a0 Yup, that&#8217;s right.\u00c2\u00a0 You can actually have your matches nicely highlighted in the results.\u00c2\u00a0 All you have to do to use this beauty is run grep &#8211;color instead of just grep. (Hint: an alias might &hellip; <a href=\"https:\/\/mamchenkov.net\/wordpress\/2006\/04\/07\/gnu-grep-can-be-colorful\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">GNU grep can be colorful<\/span><\/a><\/p>\n<!-- google_ad_section_end -->\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false,"_links_to":"","_links_to_target":""},"categories":[1],"tags":[],"keyring_services":[],"class_list":["post-10039","post","type-post","status-publish","format-standard","hentry","category-general"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.9 - aioseo.com -->\n\t<meta name=\"description\" content=\"Yet another of those tiny things that I wish I discovered a billion years ago - GNU grep supports color.\u00c2 Yup, that&#039;s right.\u00c2 You can actually have your matches nicely highlighted in the results.\u00c2 All you have to do to use this beauty is run grep --color instead of just grep. (Hint: an alias might\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Leonid Mamchenkov\"\/>\n\t<meta name=\"google-site-verification\" content=\"VHvdD0_usx1_4DzKy_QCVcICVgX2EgA2ybELT-wl7kQ\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/mamchenkov.net\/wordpress\/2006\/04\/07\/gnu-grep-can-be-colorful\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.9\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Leonid Mamchenkov - Life, universe, and everything else\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"GNU grep can be colorful - Leonid Mamchenkov\" \/>\n\t\t<meta property=\"og:description\" content=\"Yet another of those tiny things that I wish I discovered a billion years ago - GNU grep supports color.\u00c2 Yup, that&#039;s right.\u00c2 You can actually have your matches nicely highlighted in the results.\u00c2 All you have to do to use this beauty is run grep --color instead of just grep. (Hint: an alias might\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/mamchenkov.net\/wordpress\/2006\/04\/07\/gnu-grep-can-be-colorful\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2026\/03\/leonid-sailing-beer.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2026\/03\/leonid-sailing-beer.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t\t<meta property=\"og:image:height\" content=\"1024\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2006-04-07T20:17:47+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2006-04-07T20:17:47+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/MamchenkovBlog\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@mamchenkov\" \/>\n\t\t<meta name=\"twitter:title\" content=\"GNU grep can be colorful - Leonid Mamchenkov\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Yet another of those tiny things that I wish I discovered a billion years ago - GNU grep supports color.\u00c2 Yup, that&#039;s right.\u00c2 You can actually have your matches nicely highlighted in the results.\u00c2 All you have to do to use this beauty is run grep --color instead of just grep. (Hint: an alias might\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@mamchenkov\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2026\/03\/leonid-sailing-beer.jpg\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2006\\\/04\\\/07\\\/gnu-grep-can-be-colorful\\\/#blogposting\",\"name\":\"GNU grep can be colorful - Leonid Mamchenkov\",\"headline\":\"GNU grep can be colorful\",\"author\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/author\\\/leonid\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2006\\\/04\\\/07\\\/gnu-grep-can-be-colorful\\\/#articleImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3cf6df002a284d78fb6e9d8222ca4d102e0832035ed6bc8447008bd234e131a4?s=96&d=identicon&r=g\",\"width\":96,\"height\":96,\"caption\":\"Leonid Mamchenkov\"},\"datePublished\":\"2006-04-07T23:17:47+02:00\",\"dateModified\":\"2006-04-07T23:17:47+02:00\",\"inLanguage\":\"en-US\",\"commentCount\":3,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2006\\\/04\\\/07\\\/gnu-grep-can-be-colorful\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2006\\\/04\\\/07\\\/gnu-grep-can-be-colorful\\\/#webpage\"},\"articleSection\":\"All\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2006\\\/04\\\/07\\\/gnu-grep-can-be-colorful\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/category\\\/general\\\/#listItem\",\"name\":\"All\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/category\\\/general\\\/#listItem\",\"position\":2,\"name\":\"All\",\"item\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/category\\\/general\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2006\\\/04\\\/07\\\/gnu-grep-can-be-colorful\\\/#listItem\",\"name\":\"GNU grep can be colorful\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2006\\\/04\\\/07\\\/gnu-grep-can-be-colorful\\\/#listItem\",\"position\":3,\"name\":\"GNU grep can be colorful\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/category\\\/general\\\/#listItem\",\"name\":\"All\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/#person\",\"name\":\"Leonid Mamchenkov\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2006\\\/04\\\/07\\\/gnu-grep-can-be-colorful\\\/#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3cf6df002a284d78fb6e9d8222ca4d102e0832035ed6bc8447008bd234e131a4?s=96&d=identicon&r=g\",\"width\":96,\"height\":96,\"caption\":\"Leonid Mamchenkov\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/author\\\/leonid\\\/#author\",\"url\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/author\\\/leonid\\\/\",\"name\":\"Leonid Mamchenkov\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2006\\\/04\\\/07\\\/gnu-grep-can-be-colorful\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3cf6df002a284d78fb6e9d8222ca4d102e0832035ed6bc8447008bd234e131a4?s=96&d=identicon&r=g\",\"width\":96,\"height\":96,\"caption\":\"Leonid Mamchenkov\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2006\\\/04\\\/07\\\/gnu-grep-can-be-colorful\\\/#webpage\",\"url\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2006\\\/04\\\/07\\\/gnu-grep-can-be-colorful\\\/\",\"name\":\"GNU grep can be colorful - Leonid Mamchenkov\",\"description\":\"Yet another of those tiny things that I wish I discovered a billion years ago - GNU grep supports color.\\u00c2 Yup, that's right.\\u00c2 You can actually have your matches nicely highlighted in the results.\\u00c2 All you have to do to use this beauty is run grep --color instead of just grep. (Hint: an alias might\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2006\\\/04\\\/07\\\/gnu-grep-can-be-colorful\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/author\\\/leonid\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/author\\\/leonid\\\/#author\"},\"datePublished\":\"2006-04-07T23:17:47+02:00\",\"dateModified\":\"2006-04-07T23:17:47+02:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/#website\",\"url\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/\",\"name\":\"Blog of Leonid Mamchenkov\",\"description\":\"Life, universe, and everything else\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"GNU grep can be colorful - Leonid Mamchenkov","description":"Yet another of those tiny things that I wish I discovered a billion years ago - GNU grep supports color.\u00c2 Yup, that's right.\u00c2 You can actually have your matches nicely highlighted in the results.\u00c2 All you have to do to use this beauty is run grep --color instead of just grep. (Hint: an alias might","canonical_url":"https:\/\/mamchenkov.net\/wordpress\/2006\/04\/07\/gnu-grep-can-be-colorful\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"google-site-verification":"VHvdD0_usx1_4DzKy_QCVcICVgX2EgA2ybELT-wl7kQ","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/mamchenkov.net\/wordpress\/2006\/04\/07\/gnu-grep-can-be-colorful\/#blogposting","name":"GNU grep can be colorful - Leonid Mamchenkov","headline":"GNU grep can be colorful","author":{"@id":"https:\/\/mamchenkov.net\/wordpress\/author\/leonid\/#author"},"publisher":{"@id":"https:\/\/mamchenkov.net\/wordpress\/#person"},"image":{"@type":"ImageObject","@id":"https:\/\/mamchenkov.net\/wordpress\/2006\/04\/07\/gnu-grep-can-be-colorful\/#articleImage","url":"https:\/\/secure.gravatar.com\/avatar\/3cf6df002a284d78fb6e9d8222ca4d102e0832035ed6bc8447008bd234e131a4?s=96&d=identicon&r=g","width":96,"height":96,"caption":"Leonid Mamchenkov"},"datePublished":"2006-04-07T23:17:47+02:00","dateModified":"2006-04-07T23:17:47+02:00","inLanguage":"en-US","commentCount":3,"mainEntityOfPage":{"@id":"https:\/\/mamchenkov.net\/wordpress\/2006\/04\/07\/gnu-grep-can-be-colorful\/#webpage"},"isPartOf":{"@id":"https:\/\/mamchenkov.net\/wordpress\/2006\/04\/07\/gnu-grep-can-be-colorful\/#webpage"},"articleSection":"All"},{"@type":"BreadcrumbList","@id":"https:\/\/mamchenkov.net\/wordpress\/2006\/04\/07\/gnu-grep-can-be-colorful\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress#listItem","position":1,"name":"Home","item":"https:\/\/mamchenkov.net\/wordpress","nextItem":{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/#listItem","name":"All"}},{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/#listItem","position":2,"name":"All","item":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/","nextItem":{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/2006\/04\/07\/gnu-grep-can-be-colorful\/#listItem","name":"GNU grep can be colorful"},"previousItem":{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/2006\/04\/07\/gnu-grep-can-be-colorful\/#listItem","position":3,"name":"GNU grep can be colorful","previousItem":{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/#listItem","name":"All"}}]},{"@type":"Person","@id":"https:\/\/mamchenkov.net\/wordpress\/#person","name":"Leonid Mamchenkov","image":{"@type":"ImageObject","@id":"https:\/\/mamchenkov.net\/wordpress\/2006\/04\/07\/gnu-grep-can-be-colorful\/#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/3cf6df002a284d78fb6e9d8222ca4d102e0832035ed6bc8447008bd234e131a4?s=96&d=identicon&r=g","width":96,"height":96,"caption":"Leonid Mamchenkov"}},{"@type":"Person","@id":"https:\/\/mamchenkov.net\/wordpress\/author\/leonid\/#author","url":"https:\/\/mamchenkov.net\/wordpress\/author\/leonid\/","name":"Leonid Mamchenkov","image":{"@type":"ImageObject","@id":"https:\/\/mamchenkov.net\/wordpress\/2006\/04\/07\/gnu-grep-can-be-colorful\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/3cf6df002a284d78fb6e9d8222ca4d102e0832035ed6bc8447008bd234e131a4?s=96&d=identicon&r=g","width":96,"height":96,"caption":"Leonid Mamchenkov"}},{"@type":"WebPage","@id":"https:\/\/mamchenkov.net\/wordpress\/2006\/04\/07\/gnu-grep-can-be-colorful\/#webpage","url":"https:\/\/mamchenkov.net\/wordpress\/2006\/04\/07\/gnu-grep-can-be-colorful\/","name":"GNU grep can be colorful - Leonid Mamchenkov","description":"Yet another of those tiny things that I wish I discovered a billion years ago - GNU grep supports color.\u00c2 Yup, that's right.\u00c2 You can actually have your matches nicely highlighted in the results.\u00c2 All you have to do to use this beauty is run grep --color instead of just grep. (Hint: an alias might","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/mamchenkov.net\/wordpress\/#website"},"breadcrumb":{"@id":"https:\/\/mamchenkov.net\/wordpress\/2006\/04\/07\/gnu-grep-can-be-colorful\/#breadcrumblist"},"author":{"@id":"https:\/\/mamchenkov.net\/wordpress\/author\/leonid\/#author"},"creator":{"@id":"https:\/\/mamchenkov.net\/wordpress\/author\/leonid\/#author"},"datePublished":"2006-04-07T23:17:47+02:00","dateModified":"2006-04-07T23:17:47+02:00"},{"@type":"WebSite","@id":"https:\/\/mamchenkov.net\/wordpress\/#website","url":"https:\/\/mamchenkov.net\/wordpress\/","name":"Blog of Leonid Mamchenkov","description":"Life, universe, and everything else","inLanguage":"en-US","publisher":{"@id":"https:\/\/mamchenkov.net\/wordpress\/#person"}}]},"og:locale":"en_US","og:site_name":"Leonid Mamchenkov - Life, universe, and everything else","og:type":"article","og:title":"GNU grep can be colorful - Leonid Mamchenkov","og:description":"Yet another of those tiny things that I wish I discovered a billion years ago - GNU grep supports color.\u00c2 Yup, that's right.\u00c2 You can actually have your matches nicely highlighted in the results.\u00c2 All you have to do to use this beauty is run grep --color instead of just grep. (Hint: an alias might","og:url":"https:\/\/mamchenkov.net\/wordpress\/2006\/04\/07\/gnu-grep-can-be-colorful\/","og:image":"https:\/\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2026\/03\/leonid-sailing-beer.jpg","og:image:secure_url":"https:\/\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2026\/03\/leonid-sailing-beer.jpg","og:image:width":1024,"og:image:height":1024,"article:published_time":"2006-04-07T20:17:47+00:00","article:modified_time":"2006-04-07T20:17:47+00:00","article:publisher":"https:\/\/www.facebook.com\/MamchenkovBlog","twitter:card":"summary_large_image","twitter:site":"@mamchenkov","twitter:title":"GNU grep can be colorful - Leonid Mamchenkov","twitter:description":"Yet another of those tiny things that I wish I discovered a billion years ago - GNU grep supports color.\u00c2 Yup, that's right.\u00c2 You can actually have your matches nicely highlighted in the results.\u00c2 All you have to do to use this beauty is run grep --color instead of just grep. (Hint: an alias might","twitter:creator":"@mamchenkov","twitter:image":"https:\/\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2026\/03\/leonid-sailing-beer.jpg"},"aioseo_meta_data":{"post_id":"10039","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2023-07-19 19:25:48","updated":"2026-01-15 01:45:45","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/mamchenkov.net\/wordpress\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/mamchenkov.net\/wordpress\/category\/general\/\" title=\"All\">All<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tGNU grep can be colorful\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/mamchenkov.net\/wordpress"},{"label":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},{"label":"GNU grep can be colorful","link":"https:\/\/mamchenkov.net\/wordpress\/2006\/04\/07\/gnu-grep-can-be-colorful\/"}],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":9803,"url":"https:\/\/mamchenkov.net\/wordpress\/2006\/01\/06\/daily-del-icio-us-bookmarks\/","url_meta":{"origin":10039,"position":0},"title":"Daily del.icio.us bookmarks","author":"Leonid Mamchenkov","date":"January 6, 2006","format":false,"excerpt":"Shared bookmarks for del.icio.us user tvset on 2006-01-05 GREP tutorial Tagged as: bash gnu grep howto linux reference software sysadmin tutorial unix","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":16590,"url":"https:\/\/mamchenkov.net\/wordpress\/2012\/07\/30\/ive-been-using-a-combination-of-ps-and-grep-for-y\/","url_meta":{"origin":10039,"position":1},"title":"I&#8217;ve been using a combination of ps and grep for y&#8230;","author":"Leonid Mamchenkov","date":"July 30, 2012","format":"status","excerpt":"I've been using a combination of ps and grep for years now. \u00a0Apparently, there is an easier way - pgrep and pkill utilities, which are a part of procps package on Fedora and CentOS distributions.","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":28521,"url":"https:\/\/mamchenkov.net\/wordpress\/2018\/04\/25\/gron-make-json-greppable\/","url_meta":{"origin":10039,"position":2},"title":"gron &#8211; Make JSON greppable!","author":"Leonid Mamchenkov","date":"April 25, 2018","format":false,"excerpt":"gron is a grep-like tool that specializes in JSON format.\u00a0 Unlike grep, however, it works both way - in and out.","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":16781,"url":"https:\/\/mamchenkov.net\/wordpress\/2012\/10\/02\/bash-directory-bookmarks\/","url_meta":{"origin":10039,"position":3},"title":"Bash directory bookmarks","author":"Leonid Mamchenkov","date":"October 2, 2012","format":false,"excerpt":"While reading through the comments to this Habrahabr article (in Russian), I came across an excellent tip for the directory bookmarks in bash shell. \u00a0Here's how to set it up. Firstly, add the following lines to your .bashrc or .bash_profile file: Secondly, if you are already using ~\/.bookmarks file for\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":7367,"url":"https:\/\/mamchenkov.net\/wordpress\/2004\/03\/23\/repeat-of-the-last-command-in-bash\/","url_meta":{"origin":10039,"position":4},"title":"Repeat of the last command in bash","author":"Leonid Mamchenkov","date":"March 23, 2004","format":false,"excerpt":"Ok, we all know that to repeat the last command in bash (as well as many other shells) you just need to press the Up key. Sometimes though it is handy to test a command before using it as a subset of a bigger command. Example: if I want to\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":10158,"url":"https:\/\/mamchenkov.net\/wordpress\/2006\/06\/04\/daily-del-icio-us-bookmarks\/","url_meta":{"origin":10039,"position":5},"title":"Daily del.icio.us bookmarks","author":"Leonid Mamchenkov","date":"June 4, 2006","format":false,"excerpt":"Shared bookmarks for del.icio.us user tvset on 2006-06-03 the cluetrain manifesto Tagged as: business culture marketing motivation politics social startup technology web2.0 reboot Tagged as: conferences ideas innovation social technology web2.0 Seth's Blog: How to get traffic for your blog Tagged as: blogging lists traffic tutorial web2.0 writing Linux.com |\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/10039","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/comments?post=10039"}],"version-history":[{"count":0,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/10039\/revisions"}],"wp:attachment":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/media?parent=10039"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/categories?post=10039"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/tags?post=10039"},{"taxonomy":"keyring_services","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/keyring_services?post=10039"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}