{"id":18529,"date":"2023-12-11T07:35:56","date_gmt":"2023-12-11T07:35:56","guid":{"rendered":"https:\/\/www.prepbytes.com\/blog\/?p=18529"},"modified":"2023-12-11T07:35:56","modified_gmt":"2023-12-11T07:35:56","slug":"awk-command-in-unix-linux-with-examples","status":"publish","type":"post","link":"https:\/\/prepbytes.com\/blog\/awk-command-in-unix-linux-with-examples\/","title":{"rendered":"awk Command in unix\/linux with Examples"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1702280137599-awk%20Command%20in%20unix_linux%20with%20Examples%20.jpg\" alt=\"\" \/><br \/>\nThe awk command in Unix\/Linux is a versatile and powerful text-processing tool used for manipulating and processing text or data files. Named after its creators\u2014Aho, Weinberger, and Kernighan\u2014awk is primarily used for handling data either from files, standard input, or through shell pipelines. It excels at extracting and transforming data, allowing users to perform various operations like searching for patterns, processing fields, performing calculations, and generating reports.<\/p>\n<p>awk operates on a per-line basis, executing actions or commands based on patterns defined within the program. Its concise syntax and built-in functionalities make it an invaluable tool for data extraction, formatting, and reporting within the Unix\/Linux command-line environment.<\/p>\n<h2>What is awk Command in unix\/linux with Examples?<\/h2>\n<p>The awk command in Unix\/Linux is a powerful and versatile text-processing tool used for manipulating and processing text or data files. Named after its creators\u2014Alfred Aho, Peter Weinberger, and Brian Kernighan\u2014awk is designed to operate on data either from files, standard input, or through shell pipelines. It is especially useful for performing data extraction, manipulation, and reporting tasks.<\/p>\n<h3>Example of awk Command in Unix\/Linux<\/h3>\n<p>Here are some examples illustrating the usage of awk:<\/p>\n<p><strong>1. Print Specific Columns from a File:<\/strong><\/p>\n<pre><code>awk '{print $1, $3}' file.txt<\/code><\/pre>\n<p>This command prints the first and third columns from file.txt.<\/p>\n<p><strong>2. Perform Arithmetic Operations:<\/strong><\/p>\n<pre><code>echo \"5 10\" | awk '{print $1 + $2}\u2019<\/code><\/pre>\n<p>Using a pipe (|), this command adds the numbers 5 and 10 and prints the result.<\/p>\n<p><strong>3. Search and Print Lines Matching a Pattern:<\/strong><\/p>\n<pre><code>awk '\/pattern\/ {print}' file.txt<\/code><\/pre>\n<p>This command searches for the &quot;pattern&quot; in file.txt and prints lines that match the pattern.<\/p>\n<p><strong>4. Set Custom Field Separator:<\/strong><\/p>\n<pre><code>awk -F':' '{print $1}' \/etc\/passwd<\/code><\/pre>\n<p>Using -F, this command uses : as the field separator to extract the first field (username) from the \/etc\/passwd file.<\/p>\n<p><strong>5. Filter Data Based on Condition:<\/strong><\/p>\n<pre><code>awk '$3 &gt; 100 {print $1}' file.txt<\/code><\/pre>\n<p>This command prints the first column from file.txt if the value in the third column is greater than 100.<\/p>\n<p><strong>6. Calculate Average from Numbers in a File:<\/strong><\/p>\n<pre><code>awk '{sum+=$1} END {print \"Average =\", sum\/NR}' numbers.txt<\/code><\/pre>\n<p>Here, awk calculates the average of numbers in numbers.txt and prints the result in the END block using NR (number of records).<\/p>\n<p>awk operates on a per-line basis, where it scans input text or data, matches patterns, and performs actions based on defined patterns and commands. It excels at manipulating data through field-based processing, arithmetic calculations, pattern matching using regular expressions, and generating formatted reports.<\/p>\n<p>The examples provided showcase just a fraction of awk&#8217;s capabilities. Its flexibility and robustness make it an essential tool for data manipulation, reporting, and text-processing tasks in Unix\/Linux systems, catering to the needs of developers, system administrators, and data analysts working within the command-line environment.<\/p>\n<p><strong>Conclusion:<\/strong><br \/>\nIn conclusion, the awk command remains an indispensable tool in Unix\/Linux systems for its data-processing capabilities. Its ability to process text or data by defining patterns and actions enables users to perform intricate operations efficiently from the command line. By leveraging awk&#8217;s concise syntax and powerful features, users can effectively manipulate data, generate reports, and automate various text-processing tasks, making it a go-to utility for developers, system administrators, and data analysts.<\/p>\n<h2>FAQs (Frequently Asked Questions) about the awk command in Unix\/Linux with Examples:<\/h2>\n<p>Here are some FAQs related to awk command in Unix\/Linux.<\/p>\n<p><strong>1. How does awk work?<\/strong><br \/>\nawk processes data by defining patterns and corresponding actions. It scans input text or data, matches patterns, and performs actions on the matched content.<\/p>\n<p><strong>2. What are some common awk functionalities?<\/strong><br \/>\nawk can perform operations such as searching for patterns using regular expressions, splitting fields based on delimiters, performing arithmetic or string operations, and generating formatted reports.<\/p>\n<p><strong>3. How can I use awk to print specific columns from a file?<\/strong><\/p>\n<pre><code>awk '{print $2, $4}' file.txt<\/code><\/pre>\n<p>This command prints the second and fourth columns from file.txt.<\/p>\n<p><strong>4. Can awk perform arithmetic operations?<\/strong><br \/>\nYes, awk can perform arithmetic operations on data. For instance:<\/p>\n<pre><code>echo \"5 10\" | awk '{print $1 + $2}\u2019<\/code><\/pre>\n<p>This command adds the numbers 5 and 10 and prints the result.<\/p>\n<p><strong>5. How does awk handle field separation in text files?<\/strong><br \/>\nBy default, awk separates fields based on whitespace (spaces or tabs). Users can define custom field separators using the -F option.<\/p>\n<pre><code>awk -F':' '{print $1}' \/etc\/passwd<\/code><\/pre>\n<p>This command uses : as the field separator to extract the first field (username) from the \/etc\/passwd file.<\/p>\n<p><strong>6. Can awk be used with conditions?<\/strong><br \/>\nYes, awk allows users to apply conditions for pattern matching and executing specific actions based on those conditions. For example:<\/p>\n<pre><code>awk '$3 &gt; 100 {print $1}' file.txt<\/code><\/pre>\n<p>This command prints the first column from file.txt if the value in the third column is greater than 100.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The awk command in Unix\/Linux is a versatile and powerful text-processing tool used for manipulating and processing text or data files. Named after its creators\u2014Aho, Weinberger, and Kernighan\u2014awk is primarily used for handling data either from files, standard input, or through shell pipelines. It excels at extracting and transforming data, allowing users to perform various [&hellip;]<\/p>\n","protected":false},"author":52,"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,"footnotes":""},"categories":[230],"tags":[],"class_list":["post-18529","post","type-post","status-publish","format-standard","hentry","category-linux"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>awk Command in unix\/linux with Examples<\/title>\n<meta name=\"description\" content=\"The awk command in Unix\/Linux is a powerful and versatile text-processing tool used for manipulating and processing text or data files.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/prepbytes.com\/blog\/awk-command-in-unix-linux-with-examples\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"awk Command in unix\/linux with Examples\" \/>\n<meta property=\"og:description\" content=\"The awk command in Unix\/Linux is a powerful and versatile text-processing tool used for manipulating and processing text or data files.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/prepbytes.com\/blog\/awk-command-in-unix-linux-with-examples\/\" \/>\n<meta property=\"og:site_name\" content=\"PrepBytes Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prepbytes0211\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-12-11T07:35:56+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1702280137599-awk%20Command%20in%20unix_linux%20with%20Examples%20.jpg\" \/>\n<meta name=\"author\" content=\"Prepbytes\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Prepbytes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/prepbytes.com\/blog\/awk-command-in-unix-linux-with-examples\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/prepbytes.com\/blog\/awk-command-in-unix-linux-with-examples\/\"},\"author\":{\"name\":\"Prepbytes\",\"@id\":\"http:\/\/43.205.93.38\/#\/schema\/person\/3f7dc4ae851791d5947a7f99df363d5e\"},\"headline\":\"awk Command in unix\/linux with Examples\",\"datePublished\":\"2023-12-11T07:35:56+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/prepbytes.com\/blog\/awk-command-in-unix-linux-with-examples\/\"},\"wordCount\":728,\"commentCount\":0,\"publisher\":{\"@id\":\"http:\/\/43.205.93.38\/#organization\"},\"image\":{\"@id\":\"https:\/\/prepbytes.com\/blog\/awk-command-in-unix-linux-with-examples\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1702280137599-awk%20Command%20in%20unix_linux%20with%20Examples%20.jpg\",\"articleSection\":[\"Linux\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/prepbytes.com\/blog\/awk-command-in-unix-linux-with-examples\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/prepbytes.com\/blog\/awk-command-in-unix-linux-with-examples\/\",\"url\":\"https:\/\/prepbytes.com\/blog\/awk-command-in-unix-linux-with-examples\/\",\"name\":\"awk Command in unix\/linux with Examples\",\"isPartOf\":{\"@id\":\"http:\/\/43.205.93.38\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/prepbytes.com\/blog\/awk-command-in-unix-linux-with-examples\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/prepbytes.com\/blog\/awk-command-in-unix-linux-with-examples\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1702280137599-awk%20Command%20in%20unix_linux%20with%20Examples%20.jpg\",\"datePublished\":\"2023-12-11T07:35:56+00:00\",\"description\":\"The awk command in Unix\/Linux is a powerful and versatile text-processing tool used for manipulating and processing text or data files.\",\"breadcrumb\":{\"@id\":\"https:\/\/prepbytes.com\/blog\/awk-command-in-unix-linux-with-examples\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/prepbytes.com\/blog\/awk-command-in-unix-linux-with-examples\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/prepbytes.com\/blog\/awk-command-in-unix-linux-with-examples\/#primaryimage\",\"url\":\"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1702280137599-awk%20Command%20in%20unix_linux%20with%20Examples%20.jpg\",\"contentUrl\":\"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1702280137599-awk%20Command%20in%20unix_linux%20with%20Examples%20.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/prepbytes.com\/blog\/awk-command-in-unix-linux-with-examples\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\/\/43.205.93.38\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Linux\",\"item\":\"https:\/\/prepbytes.com\/blog\/category\/linux\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"awk Command in unix\/linux with Examples\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/43.205.93.38\/#website\",\"url\":\"http:\/\/43.205.93.38\/\",\"name\":\"PrepBytes Blog\",\"description\":\"ONE-STOP RESOURCE FOR EVERYTHING RELATED TO CODING\",\"publisher\":{\"@id\":\"http:\/\/43.205.93.38\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/43.205.93.38\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"http:\/\/43.205.93.38\/#organization\",\"name\":\"Prepbytes\",\"url\":\"http:\/\/43.205.93.38\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/43.205.93.38\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/blog.prepbytes.com\/wp-content\/uploads\/2025\/07\/uzxxllgloialmn9mhwfe.webp\",\"contentUrl\":\"https:\/\/blog.prepbytes.com\/wp-content\/uploads\/2025\/07\/uzxxllgloialmn9mhwfe.webp\",\"width\":160,\"height\":160,\"caption\":\"Prepbytes\"},\"image\":{\"@id\":\"http:\/\/43.205.93.38\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/prepbytes0211\/\",\"https:\/\/www.instagram.com\/prepbytes\/\",\"https:\/\/www.linkedin.com\/company\/prepbytes\/\",\"https:\/\/www.youtube.com\/channel\/UC0xGnHDrjUM1pDEK2Ka5imA\"]},{\"@type\":\"Person\",\"@id\":\"http:\/\/43.205.93.38\/#\/schema\/person\/3f7dc4ae851791d5947a7f99df363d5e\",\"name\":\"Prepbytes\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/43.205.93.38\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/232042cd1a1ea0e982c96d2a2ec93fb70a8e864e00784491231e7bfe5a9e06b5?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/232042cd1a1ea0e982c96d2a2ec93fb70a8e864e00784491231e7bfe5a9e06b5?s=96&d=mm&r=g\",\"caption\":\"Prepbytes\"},\"url\":\"https:\/\/prepbytes.com\/blog\/author\/gourav-jaincollegedekho-com\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"awk Command in unix\/linux with Examples","description":"The awk command in Unix\/Linux is a powerful and versatile text-processing tool used for manipulating and processing text or data files.","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:\/\/prepbytes.com\/blog\/awk-command-in-unix-linux-with-examples\/","og_locale":"en_US","og_type":"article","og_title":"awk Command in unix\/linux with Examples","og_description":"The awk command in Unix\/Linux is a powerful and versatile text-processing tool used for manipulating and processing text or data files.","og_url":"https:\/\/prepbytes.com\/blog\/awk-command-in-unix-linux-with-examples\/","og_site_name":"PrepBytes Blog","article_publisher":"https:\/\/www.facebook.com\/prepbytes0211\/","article_published_time":"2023-12-11T07:35:56+00:00","og_image":[{"url":"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1702280137599-awk%20Command%20in%20unix_linux%20with%20Examples%20.jpg","type":"","width":"","height":""}],"author":"Prepbytes","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Prepbytes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/prepbytes.com\/blog\/awk-command-in-unix-linux-with-examples\/#article","isPartOf":{"@id":"https:\/\/prepbytes.com\/blog\/awk-command-in-unix-linux-with-examples\/"},"author":{"name":"Prepbytes","@id":"http:\/\/43.205.93.38\/#\/schema\/person\/3f7dc4ae851791d5947a7f99df363d5e"},"headline":"awk Command in unix\/linux with Examples","datePublished":"2023-12-11T07:35:56+00:00","mainEntityOfPage":{"@id":"https:\/\/prepbytes.com\/blog\/awk-command-in-unix-linux-with-examples\/"},"wordCount":728,"commentCount":0,"publisher":{"@id":"http:\/\/43.205.93.38\/#organization"},"image":{"@id":"https:\/\/prepbytes.com\/blog\/awk-command-in-unix-linux-with-examples\/#primaryimage"},"thumbnailUrl":"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1702280137599-awk%20Command%20in%20unix_linux%20with%20Examples%20.jpg","articleSection":["Linux"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/prepbytes.com\/blog\/awk-command-in-unix-linux-with-examples\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/prepbytes.com\/blog\/awk-command-in-unix-linux-with-examples\/","url":"https:\/\/prepbytes.com\/blog\/awk-command-in-unix-linux-with-examples\/","name":"awk Command in unix\/linux with Examples","isPartOf":{"@id":"http:\/\/43.205.93.38\/#website"},"primaryImageOfPage":{"@id":"https:\/\/prepbytes.com\/blog\/awk-command-in-unix-linux-with-examples\/#primaryimage"},"image":{"@id":"https:\/\/prepbytes.com\/blog\/awk-command-in-unix-linux-with-examples\/#primaryimage"},"thumbnailUrl":"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1702280137599-awk%20Command%20in%20unix_linux%20with%20Examples%20.jpg","datePublished":"2023-12-11T07:35:56+00:00","description":"The awk command in Unix\/Linux is a powerful and versatile text-processing tool used for manipulating and processing text or data files.","breadcrumb":{"@id":"https:\/\/prepbytes.com\/blog\/awk-command-in-unix-linux-with-examples\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/prepbytes.com\/blog\/awk-command-in-unix-linux-with-examples\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/prepbytes.com\/blog\/awk-command-in-unix-linux-with-examples\/#primaryimage","url":"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1702280137599-awk%20Command%20in%20unix_linux%20with%20Examples%20.jpg","contentUrl":"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1702280137599-awk%20Command%20in%20unix_linux%20with%20Examples%20.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/prepbytes.com\/blog\/awk-command-in-unix-linux-with-examples\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"http:\/\/43.205.93.38\/"},{"@type":"ListItem","position":2,"name":"Linux","item":"https:\/\/prepbytes.com\/blog\/category\/linux\/"},{"@type":"ListItem","position":3,"name":"awk Command in unix\/linux with Examples"}]},{"@type":"WebSite","@id":"http:\/\/43.205.93.38\/#website","url":"http:\/\/43.205.93.38\/","name":"PrepBytes Blog","description":"ONE-STOP RESOURCE FOR EVERYTHING RELATED TO CODING","publisher":{"@id":"http:\/\/43.205.93.38\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/43.205.93.38\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"http:\/\/43.205.93.38\/#organization","name":"Prepbytes","url":"http:\/\/43.205.93.38\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/43.205.93.38\/#\/schema\/logo\/image\/","url":"https:\/\/blog.prepbytes.com\/wp-content\/uploads\/2025\/07\/uzxxllgloialmn9mhwfe.webp","contentUrl":"https:\/\/blog.prepbytes.com\/wp-content\/uploads\/2025\/07\/uzxxllgloialmn9mhwfe.webp","width":160,"height":160,"caption":"Prepbytes"},"image":{"@id":"http:\/\/43.205.93.38\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/prepbytes0211\/","https:\/\/www.instagram.com\/prepbytes\/","https:\/\/www.linkedin.com\/company\/prepbytes\/","https:\/\/www.youtube.com\/channel\/UC0xGnHDrjUM1pDEK2Ka5imA"]},{"@type":"Person","@id":"http:\/\/43.205.93.38\/#\/schema\/person\/3f7dc4ae851791d5947a7f99df363d5e","name":"Prepbytes","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/43.205.93.38\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/232042cd1a1ea0e982c96d2a2ec93fb70a8e864e00784491231e7bfe5a9e06b5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/232042cd1a1ea0e982c96d2a2ec93fb70a8e864e00784491231e7bfe5a9e06b5?s=96&d=mm&r=g","caption":"Prepbytes"},"url":"https:\/\/prepbytes.com\/blog\/author\/gourav-jaincollegedekho-com\/"}]}},"_links":{"self":[{"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/posts\/18529","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/users\/52"}],"replies":[{"embeddable":true,"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/comments?post=18529"}],"version-history":[{"count":1,"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/posts\/18529\/revisions"}],"predecessor-version":[{"id":18530,"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/posts\/18529\/revisions\/18530"}],"wp:attachment":[{"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/media?parent=18529"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/categories?post=18529"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/tags?post=18529"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}