{"id":244,"date":"2010-04-16T08:52:59","date_gmt":"2010-04-16T08:52:59","guid":{"rendered":"http:\/\/www.scmgalaxy.com\/tutorials\/2010\/04\/16\/unix-command-grep\/"},"modified":"2021-02-27T09:53:56","modified_gmt":"2021-02-27T09:53:56","slug":"unix-command-grep","status":"publish","type":"post","link":"https:\/\/www.scmgalaxy.com\/tutorials\/unix-command-grep\/","title":{"rendered":"Unix Command: Grep &#8211; Quick Reference &#8211; Pattern &#8211; Examples &#8211; Options"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4369\" src=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2010\/04\/unix-command-grep.png\" alt=\"unix-command-grep\" width=\"600\" height=\"400\" srcset=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2010\/04\/unix-command-grep.png 600w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2010\/04\/unix-command-grep-300x200.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p><span style=\"font-size: small;\"><span style=\"font-family: verdana,geneva;\"><b>Grep <\/b>scans its input for a pattern, and can display the selected pattern, the line numbers of the filenames where the pattern occurs, The command uses the following syntax<br \/>\n<i><\/i><\/span><\/span><\/p>\n<p><span style=\"font-size: small;\"><u><span style=\"font-family: verdana,geneva;\"><i>grep options pattern filesname(s)<\/i><\/span><\/u><span style=\"font-family: verdana,geneva;\"><br \/>\n<\/span><\/span><\/p>\n<p><span style=\"font-size: small;\"><span style=\"font-family: verdana,geneva;\">grep searches for pattern in one or more filenames.<br \/>\n<\/span><\/span><\/p>\n<p><b><span style=\"font-size: small;\"><span style=\"font-family: verdana,geneva;\">Example for <u>Grep<\/u> command: <\/span><\/span><\/b><\/p>\n<ol>\n<li><span style=\"font-size: small;\"><span style=\"font-family: verdana,geneva;\">grep \u201csales\u201d emp.lst<\/span><\/span><\/li>\n<li><span style=\"font-size: small;\"><span style=\"font-family: verdana,geneva;\">grep \u201cdirector\u201d emp1.lst emp2.lst<\/span><\/span><\/li>\n<li><span style=\"font-size: small;\"><span style=\"font-family: verdana,geneva;\">grep \u2018jai sharma\u2019 emp.lst<\/span><\/span><\/li>\n<li><span style=\"font-size: small;\"><span style=\"font-family: verdana,geneva;\">grep \u201cjai Sharma $var\u201d emp.lst<\/span><\/span><\/li>\n<\/ol>\n<p><span style=\"font-size: small;\"><span style=\"font-family: verdana,geneva;\"><b>&#8212;&#8212;&#8212;&#8212;&#8212;-Grep options&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<\/b><\/span><\/span><\/p>\n<p><span style=\"font-size: small;\"><span style=\"font-family: verdana,geneva;\"><b>Ignoring Case (i)<\/b> When you look for a name, but you are not sure of the case, grep offers the \u2013i (ignore) option which ignores case for patteen matching.<\/span><\/span><\/p>\n<p><span style=\"font-size: small;\"><span style=\"font-family: verdana,geneva;\">&gt; Grep \u2013i \u2018agarwal\u2019 emp.lst<\/span><\/span><\/p>\n<p><span style=\"font-size: small;\"><span style=\"font-family: verdana,geneva;\"><b>Deleting Lines\u00a0 or Inverse(-v):<\/b> -v (inverse) option selects all except lines containing the pattern. Thus, you can create a file other list containing all but director.<\/span><\/span><\/p>\n<p><span style=\"font-size: small;\"><span style=\"font-family: verdana,geneva;\">&gt; Grep \u2013v \u201cdirector\u201d emp.lst &gt; other list<\/span><\/span><\/p>\n<p><span style=\"font-size: small;\"><span style=\"font-family: verdana,geneva;\"><b>Displaying line Numbers (-n): <\/b>The \u2013n(number) options displays the line numbers containing the pattern, along with the lines:<\/span><\/span><\/p>\n<p><span style=\"font-size: small;\"><span style=\"font-family: verdana,geneva;\">&gt; grep \u2013n \u2018marketing\u2019 emp.lst<\/span><\/span><\/p>\n<p><span style=\"font-size: small;\"><span style=\"font-family: verdana,geneva;\"><b>Counting Line Containing patterns (-c):<\/b> The \u2013c (count) option counts the number of lines containing the pattern ( which is not the same as number of occurrences).<\/span><\/span><\/p>\n<ol>\n<li><span style=\"font-size: small;\"><span style=\"font-family: verdana,geneva;\">grep \u2013c director emp.lst<\/span><\/span><\/li>\n<li><span style=\"font-size: small;\"><span style=\"font-family: verdana,geneva;\">grep \u2013c director emp*.lst<\/span><\/span><\/li>\n<\/ol>\n<p><span style=\"font-size: small;\"><span style=\"font-family: verdana,geneva;\"><b>Displaying Filenames (-l):<\/b> The \u2013l (list) option displays only the files names of files containing the pattern.<\/span><\/span><\/p>\n<p><span style=\"font-size: small;\"><span style=\"font-family: verdana,geneva;\">&gt; grep \u2013l \u2018manager\u2019 *.lst<\/span><\/span><\/p>\n<p><span style=\"font-size: small;\"><span style=\"font-family: verdana,geneva;\"><b>Matching Multiple Patterns(-e):<\/b> With the \u2013e option, you can match the three agarwals by using grep like this:<\/span><\/span><\/p>\n<p><span style=\"font-size: small;\"><span style=\"font-family: verdana,geneva;\">&gt; grep \u2013e \u201cAgarwal\u201d \u2013e \u201caggarwal\u201d \u2013e \u201cagarwal\u201d emp.lst<\/span><\/span><\/p>\n<p><span style=\"font-size: small;\"><span style=\"font-family: verdana,geneva;\"><b>Taking patterns from a file (-f):<\/b> we can place all patterns in a separate file, one pattern per lin. Grep takes inputs from there with the \u2013f option:<\/span><\/span><\/p>\n<p><span style=\"font-size: small;\"><span style=\"font-family: verdana,geneva;\">&gt; grep \u2013f pattern.lst emp.lst<\/span><\/span><\/p>\n<p><span style=\"font-size: small;\"><span style=\"font-family: verdana,geneva;\">\u00a0<\/span><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Grep scans its input for a pattern, and can display the selected pattern, the line numbers of the filenames where [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":4369,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[54],"tags":[4126,333,475,4124,4128,4129,4131,4130,4121,4123,169,4125,4127,4122],"class_list":["post-244","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-unix-linux","tag-basic-grep-commands","tag-command","tag-grep","tag-grep-command-line-options","tag-grep-unix-command-guide","tag-grep-unix-command-introduction","tag-grep-unix-command-overview","tag-grep-unix-command-quick-reference","tag-grep-unix-commands-with-examples","tag-how-to-use-grep","tag-unix","tag-unix-command-grep-examples","tag-unix-grep-command-match-pattern","tag-unix-grep-command-options"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Unix Command: Grep - Quick Reference - Pattern - Examples - Options - scmGalaxy<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.scmgalaxy.com\/tutorials\/unix-command-grep\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Unix Command: Grep - Quick Reference - Pattern - Examples - Options - scmGalaxy\" \/>\n<meta property=\"og:description\" content=\"Grep scans its input for a pattern, and can display the selected pattern, the line numbers of the filenames where [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.scmgalaxy.com\/tutorials\/unix-command-grep\/\" \/>\n<meta property=\"og:site_name\" content=\"scmGalaxy\" \/>\n<meta property=\"article:published_time\" content=\"2010-04-16T08:52:59+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-02-27T09:53:56+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2010\/04\/unix-command-grep.png\" \/>\n\t<meta property=\"og:image:width\" content=\"600\" \/>\n\t<meta property=\"og:image:height\" content=\"400\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"scmgalaxy K\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"scmgalaxy K\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/unix-command-grep\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/unix-command-grep\\\/\"},\"author\":{\"name\":\"scmgalaxy K\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/fc12ad190f540e79460243c81148d102\"},\"headline\":\"Unix Command: Grep &#8211; Quick Reference &#8211; Pattern &#8211; Examples &#8211; Options\",\"datePublished\":\"2010-04-16T08:52:59+00:00\",\"dateModified\":\"2021-02-27T09:53:56+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/unix-command-grep\\\/\"},\"wordCount\":300,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/unix-command-grep\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2010\\\/04\\\/unix-command-grep.png\",\"keywords\":[\"Basic grep commands\",\"command\",\"Grep\",\"Grep command line options\",\"Grep Unix Command Guide\",\"Grep Unix Command Introduction\",\"Grep Unix Command Overview\",\"Grep Unix Command Quick reference\",\"Grep Unix Commands With Examples\",\"How to Use Grep\",\"unix\",\"Unix command grep examples\",\"Unix grep command match pattern\",\"Unix Grep Command Options\"],\"articleSection\":[\"Unix - Linux\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/unix-command-grep\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/unix-command-grep\\\/\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/unix-command-grep\\\/\",\"name\":\"Unix Command: Grep - Quick Reference - Pattern - Examples - Options - scmGalaxy\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/unix-command-grep\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/unix-command-grep\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2010\\\/04\\\/unix-command-grep.png\",\"datePublished\":\"2010-04-16T08:52:59+00:00\",\"dateModified\":\"2021-02-27T09:53:56+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/fc12ad190f540e79460243c81148d102\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/unix-command-grep\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/unix-command-grep\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/unix-command-grep\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2010\\\/04\\\/unix-command-grep.png\",\"contentUrl\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2010\\\/04\\\/unix-command-grep.png\",\"width\":600,\"height\":400,\"caption\":\"unix-command-grep\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/unix-command-grep\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Unix Command: Grep &#8211; Quick Reference &#8211; Pattern &#8211; Examples &#8211; Options\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#website\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/\",\"name\":\"scmGalaxy\",\"description\":\"A Platform for Software Engineers\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/fc12ad190f540e79460243c81148d102\",\"name\":\"scmgalaxy K\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g\",\"caption\":\"scmgalaxy K\"},\"sameAs\":[\"http:\\\/\\\/www.DevOpsSchool.com\"],\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/author\\\/scmgalaxy\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Unix Command: Grep - Quick Reference - Pattern - Examples - Options - scmGalaxy","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.scmgalaxy.com\/tutorials\/unix-command-grep\/","og_locale":"en_US","og_type":"article","og_title":"Unix Command: Grep - Quick Reference - Pattern - Examples - Options - scmGalaxy","og_description":"Grep scans its input for a pattern, and can display the selected pattern, the line numbers of the filenames where [&hellip;]","og_url":"https:\/\/www.scmgalaxy.com\/tutorials\/unix-command-grep\/","og_site_name":"scmGalaxy","article_published_time":"2010-04-16T08:52:59+00:00","article_modified_time":"2021-02-27T09:53:56+00:00","og_image":[{"width":600,"height":400,"url":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2010\/04\/unix-command-grep.png","type":"image\/png"}],"author":"scmgalaxy K","twitter_card":"summary_large_image","twitter_misc":{"Written by":"scmgalaxy K","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/unix-command-grep\/#article","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/unix-command-grep\/"},"author":{"name":"scmgalaxy K","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/fc12ad190f540e79460243c81148d102"},"headline":"Unix Command: Grep &#8211; Quick Reference &#8211; Pattern &#8211; Examples &#8211; Options","datePublished":"2010-04-16T08:52:59+00:00","dateModified":"2021-02-27T09:53:56+00:00","mainEntityOfPage":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/unix-command-grep\/"},"wordCount":300,"commentCount":0,"image":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/unix-command-grep\/#primaryimage"},"thumbnailUrl":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2010\/04\/unix-command-grep.png","keywords":["Basic grep commands","command","Grep","Grep command line options","Grep Unix Command Guide","Grep Unix Command Introduction","Grep Unix Command Overview","Grep Unix Command Quick reference","Grep Unix Commands With Examples","How to Use Grep","unix","Unix command grep examples","Unix grep command match pattern","Unix Grep Command Options"],"articleSection":["Unix - Linux"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.scmgalaxy.com\/tutorials\/unix-command-grep\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/unix-command-grep\/","url":"https:\/\/www.scmgalaxy.com\/tutorials\/unix-command-grep\/","name":"Unix Command: Grep - Quick Reference - Pattern - Examples - Options - scmGalaxy","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/unix-command-grep\/#primaryimage"},"image":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/unix-command-grep\/#primaryimage"},"thumbnailUrl":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2010\/04\/unix-command-grep.png","datePublished":"2010-04-16T08:52:59+00:00","dateModified":"2021-02-27T09:53:56+00:00","author":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/fc12ad190f540e79460243c81148d102"},"breadcrumb":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/unix-command-grep\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.scmgalaxy.com\/tutorials\/unix-command-grep\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/unix-command-grep\/#primaryimage","url":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2010\/04\/unix-command-grep.png","contentUrl":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2010\/04\/unix-command-grep.png","width":600,"height":400,"caption":"unix-command-grep"},{"@type":"BreadcrumbList","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/unix-command-grep\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.scmgalaxy.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"Unix Command: Grep &#8211; Quick Reference &#8211; Pattern &#8211; Examples &#8211; Options"}]},{"@type":"WebSite","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#website","url":"https:\/\/www.scmgalaxy.com\/tutorials\/","name":"scmGalaxy","description":"A Platform for Software Engineers","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.scmgalaxy.com\/tutorials\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/fc12ad190f540e79460243c81148d102","name":"scmgalaxy K","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g","caption":"scmgalaxy K"},"sameAs":["http:\/\/www.DevOpsSchool.com"],"url":"https:\/\/www.scmgalaxy.com\/tutorials\/author\/scmgalaxy\/"}]}},"_links":{"self":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/244","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/comments?post=244"}],"version-history":[{"count":3,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/244\/revisions"}],"predecessor-version":[{"id":4372,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/244\/revisions\/4372"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/media\/4369"}],"wp:attachment":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/media?parent=244"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/categories?post=244"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/tags?post=244"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}