{"id":1200,"date":"2010-02-05T23:59:48","date_gmt":"2010-02-05T18:29:48","guid":{"rendered":"https:\/\/www.suramya.com\/blog\/?p=1200"},"modified":"2010-02-06T01:19:34","modified_gmt":"2010-02-05T19:49:34","slug":"learn-to-use-search-effectively-in-linux-using-grep","status":"publish","type":"post","link":"https:\/\/www.suramya.com\/blog\/2010\/02\/learn-to-use-search-effectively-in-linux-using-grep\/","title":{"rendered":"Learn to use search effectively in Linux using grep"},"content":{"rendered":"<p>grep is a really powerful tool that allows you to search for specific string\/data within a given text. This text can be a list of files or the content of a given file, even a list of programs running. Basically it allows you to filter the required text from background noise.<\/p>\n<p>As you can imagine it is a very powerful tool but most people don&#8217;t really learn to use it well. Zahid Irfan wrote a very nice blog post on &#8216;<a href='http:\/\/zahidirfan.blogspot.com\/2010\/02\/linux-newbie-why-grep-almost-never.html'>Why grep almost never yields something productive<\/a>&#8216; for new Linux users and has some great examples that explain grep usage quite well for all users both new and experienced <\/p>\n<p>Check it out.<\/p>\n<p>&#8211; Suramya<\/p>\n","protected":false},"excerpt":{"rendered":"<p>grep is a really powerful tool that allows you to search for specific string\/data within a given text. This text can be a list of files or the content of a given file, even a list of programs running. Basically it allows you to filter the required text from background noise. As you can imagine [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"atmosphere_disabled":false,"atmosphere_custom_text":"","activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":3,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":""},"categories":[13,2,14],"tags":[],"class_list":["post-1200","post","type-post","status-publish","format-standard","hentry","category-linuxunix-related","category-techie-stuff","category-tutorials"],"_links":{"self":[{"href":"https:\/\/www.suramya.com\/blog\/wp-json\/wp\/v2\/posts\/1200","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.suramya.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.suramya.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.suramya.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.suramya.com\/blog\/wp-json\/wp\/v2\/comments?post=1200"}],"version-history":[{"count":3,"href":"https:\/\/www.suramya.com\/blog\/wp-json\/wp\/v2\/posts\/1200\/revisions"}],"predecessor-version":[{"id":1207,"href":"https:\/\/www.suramya.com\/blog\/wp-json\/wp\/v2\/posts\/1200\/revisions\/1207"}],"wp:attachment":[{"href":"https:\/\/www.suramya.com\/blog\/wp-json\/wp\/v2\/media?parent=1200"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.suramya.com\/blog\/wp-json\/wp\/v2\/categories?post=1200"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.suramya.com\/blog\/wp-json\/wp\/v2\/tags?post=1200"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}