{"id":18489,"date":"2023-12-08T06:42:17","date_gmt":"2023-12-08T06:42:17","guid":{"rendered":"https:\/\/www.prepbytes.com\/blog\/?p=18489"},"modified":"2023-12-11T05:04:37","modified_gmt":"2023-12-11T05:04:37","slug":"sed-command-in-linux-unix-with-examples","status":"publish","type":"post","link":"https:\/\/prepbytes.com\/blog\/sed-command-in-linux-unix-with-examples\/","title":{"rendered":"sed Command in Linux Unix With Examples"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1702017716088-sed%20Command%20in%20Linux%20Unix%20With%20Examples.jpg\" alt=\"\" \/><br \/>\nThe sed command, short for stream editor, is a powerful utility in Linux and Unix-like operating systems designed for text processing and manipulation. Whether you&#8217;re searching and replacing text, deleting specific lines, or performing more complex text transformations, sed is an invaluable tool for streamlining your text-editing tasks. In this article, we&#8217;ll explore the fundamentals of the sed command, its syntax, and provide practical examples to showcase its versatility.<\/p>\n<h2>What is Sed Command in Linux?<\/h2>\n<p>sed operates by reading input from a file or a pipeline, processing the data line by line, and then printing the modified text to the standard output. While sed supports a variety of commands and options, its most common use cases involve search and replace operations.<\/p>\n<h3>Basic Syntax of Sed Command in Linux<\/h3>\n<p>The basic syntax for a sed command is as follows:<\/p>\n<ul>\n<li>sed [options] &#8216;command&#8217; filename<\/li>\n<li>Options: Modify the behavior of sed. For example, the -i option enables in-place editing.<\/li>\n<li>Command: Specifies the operation to be performed on the text.<\/li>\n<li>Filename: The name of the file to be processed.<\/li>\n<\/ul>\n<h3>Practical Examples of Sed Command in Linux<\/h3>\n<p>Here are some examples of Sed Command in Linux:<\/p>\n<p><strong>1. Search and Replace<\/strong><br \/>\nThe most common use of sed is to search for a specific pattern and replace it with another. In this example, we replace all occurrences of &quot;apple&quot; with &quot;orange&quot; in a file named fruits.txt:<\/p>\n<pre><code>sed 's\/apple\/orange\/g' fruits.txt<\/code><\/pre>\n<p><strong>2. In-Place Editing<\/strong><br \/>\nTo perform an in-place edit (modify the file directly), use the -i option. The following command replaces &quot;old&quot; with &quot;new&quot; in a file named example.txt:<\/p>\n<pre><code>sed -i 's\/old\/new\/g' example.txt<\/code><\/pre>\n<p><strong>3. Deleting Lines<\/strong><br \/>\nTo delete lines that match a specific pattern, use the d command. The following example deletes all lines containing the word &quot;remove&quot; from data.txt:<\/p>\n<pre><code>sed '\/remove\/d' data.txt<\/code><\/pre>\n<p><strong>4. Adding and Appending Text<\/strong><br \/>\nYou can add or append text to lines that match a pattern. Here, we add &quot;Start:&quot; at the beginning of lines containing &quot;Task&quot;:<\/p>\n<pre><code>sed '\/Task\/ s\/^\/Start: \/' tasks.txt<\/code><\/pre>\n<p><strong>5. Printing Specific Lines<\/strong><br \/>\nTo print specific lines, use the p command. The following command prints lines containing the word &quot;error&quot; twice:<\/p>\n<pre><code>sed -n '\/error\/ p' log.txt<\/code><\/pre>\n<p><strong>6. Transforming Text with Regular Expressions<\/strong><br \/>\nsed supports regular expressions for more complex pattern matching. In this example, we replace all occurrences of numbers with &quot;NUM&quot; in a file:<\/p>\n<pre><code>sed 's\/[0-9]+\/NUM\/g' data.txt<\/code><\/pre>\n<p><strong>7. Using Multiple Commands<\/strong><br \/>\nCombine multiple sed commands in a single operation. This example replaces &quot;apple&quot; with &quot;orange&quot; and then deletes lines containing &quot;banana&quot;:<\/p>\n<pre><code>sed -e 's\/apple\/orange\/g' -e '\/banana\/d' fruits.txt<\/code><\/pre>\n<p><strong>Conclusion<\/strong><br \/>\nThe sed command is a versatile and efficient tool for text processing in Linux and Unix environments. By mastering its commands and options, you can easily perform complex text manipulations, automate editing tasks, and streamline your workflow. Whether you&#8217;re a system administrator, developer, or power user, sed is an essential addition to your toolkit for efficient text editing on the command line. Experiment with different commands and options to unlock the full potential of sed in your day-to-day tasks.<\/p>\n<h2>FAQs related to set Command in Linux<\/h2>\n<p>Below are FAQs related to set Command in Linux:<\/p>\n<p><strong>1. How does sed differ from other text processing tools?<\/strong><br \/>\nsed is specifically designed for streamlining and editing text in a pipeline. It excels at search and replace operations, deletion or addition of lines, and applying transformations based on specified patterns. Other tools, such as awk or grep, have different focuses and capabilities.<\/p>\n<p><strong>2. What is the basic syntax of the sed command?<\/strong><br \/>\nThe basic syntax of sed is: sed [options] &#8216;command&#8217; filename. Options modify the behavior, the command specifies the text operation, and filename is the name of the file to be processed.<\/p>\n<p><strong>3. How can I perform in-place editing with sed?<\/strong><br \/>\nTo perform in-place editing and modify the file directly, use the -i option. For example: sed -i &#8216;s\/old\/new\/g&#8217; example.txt.<\/p>\n<p><strong>4. How can I delete specific lines with sed?<\/strong><br \/>\nTo delete lines that match a specific pattern, use the d command. For example: sed &#8216;\/pattern\/d&#8217; filename.<\/p>\n<p><strong>5. Can sed handle regular expressions?<\/strong><br \/>\nYes, sed supports regular expressions for pattern matching and manipulation. Regular expressions provide powerful and flexible ways to define search patterns.<\/p>\n<p><strong>6. How can I print specific lines with sed?<\/strong><br \/>\nTo print specific lines, use the p command. For example: sed -n &#8216;\/pattern\/ p&#8217; filename.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The sed command, short for stream editor, is a powerful utility in Linux and Unix-like operating systems designed for text processing and manipulation. Whether you&#8217;re searching and replacing text, deleting specific lines, or performing more complex text transformations, sed is an invaluable tool for streamlining your text-editing tasks. In this article, we&#8217;ll explore the fundamentals [&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-18489","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>sed Command in Linux Unix With Examples<\/title>\n<meta name=\"description\" content=\"sed operates by reading input from a file or a pipeline, processing the data line by line, and then printing the modified text to the standard output.\" \/>\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\/sed-command-in-linux-unix-with-examples\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"sed Command in Linux Unix With Examples\" \/>\n<meta property=\"og:description\" content=\"sed operates by reading input from a file or a pipeline, processing the data line by line, and then printing the modified text to the standard output.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/prepbytes.com\/blog\/sed-command-in-linux-unix-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-08T06:42:17+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-11T05:04:37+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1702017716088-sed%20Command%20in%20Linux%20Unix%20With%20Examples.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\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/prepbytes.com\/blog\/sed-command-in-linux-unix-with-examples\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/prepbytes.com\/blog\/sed-command-in-linux-unix-with-examples\/\"},\"author\":{\"name\":\"Prepbytes\",\"@id\":\"http:\/\/43.205.93.38\/#\/schema\/person\/3f7dc4ae851791d5947a7f99df363d5e\"},\"headline\":\"sed Command in Linux Unix With Examples\",\"datePublished\":\"2023-12-08T06:42:17+00:00\",\"dateModified\":\"2023-12-11T05:04:37+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/prepbytes.com\/blog\/sed-command-in-linux-unix-with-examples\/\"},\"wordCount\":711,\"commentCount\":0,\"publisher\":{\"@id\":\"http:\/\/43.205.93.38\/#organization\"},\"image\":{\"@id\":\"https:\/\/prepbytes.com\/blog\/sed-command-in-linux-unix-with-examples\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1702017716088-sed%20Command%20in%20Linux%20Unix%20With%20Examples.jpg\",\"articleSection\":[\"Linux\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/prepbytes.com\/blog\/sed-command-in-linux-unix-with-examples\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/prepbytes.com\/blog\/sed-command-in-linux-unix-with-examples\/\",\"url\":\"https:\/\/prepbytes.com\/blog\/sed-command-in-linux-unix-with-examples\/\",\"name\":\"sed Command in Linux Unix With Examples\",\"isPartOf\":{\"@id\":\"http:\/\/43.205.93.38\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/prepbytes.com\/blog\/sed-command-in-linux-unix-with-examples\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/prepbytes.com\/blog\/sed-command-in-linux-unix-with-examples\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1702017716088-sed%20Command%20in%20Linux%20Unix%20With%20Examples.jpg\",\"datePublished\":\"2023-12-08T06:42:17+00:00\",\"dateModified\":\"2023-12-11T05:04:37+00:00\",\"description\":\"sed operates by reading input from a file or a pipeline, processing the data line by line, and then printing the modified text to the standard output.\",\"breadcrumb\":{\"@id\":\"https:\/\/prepbytes.com\/blog\/sed-command-in-linux-unix-with-examples\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/prepbytes.com\/blog\/sed-command-in-linux-unix-with-examples\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/prepbytes.com\/blog\/sed-command-in-linux-unix-with-examples\/#primaryimage\",\"url\":\"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1702017716088-sed%20Command%20in%20Linux%20Unix%20With%20Examples.jpg\",\"contentUrl\":\"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1702017716088-sed%20Command%20in%20Linux%20Unix%20With%20Examples.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/prepbytes.com\/blog\/sed-command-in-linux-unix-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\":\"sed Command in Linux Unix 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":"sed Command in Linux Unix With Examples","description":"sed operates by reading input from a file or a pipeline, processing the data line by line, and then printing the modified text to the standard output.","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\/sed-command-in-linux-unix-with-examples\/","og_locale":"en_US","og_type":"article","og_title":"sed Command in Linux Unix With Examples","og_description":"sed operates by reading input from a file or a pipeline, processing the data line by line, and then printing the modified text to the standard output.","og_url":"https:\/\/prepbytes.com\/blog\/sed-command-in-linux-unix-with-examples\/","og_site_name":"PrepBytes Blog","article_publisher":"https:\/\/www.facebook.com\/prepbytes0211\/","article_published_time":"2023-12-08T06:42:17+00:00","article_modified_time":"2023-12-11T05:04:37+00:00","og_image":[{"url":"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1702017716088-sed%20Command%20in%20Linux%20Unix%20With%20Examples.jpg","type":"","width":"","height":""}],"author":"Prepbytes","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Prepbytes","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/prepbytes.com\/blog\/sed-command-in-linux-unix-with-examples\/#article","isPartOf":{"@id":"https:\/\/prepbytes.com\/blog\/sed-command-in-linux-unix-with-examples\/"},"author":{"name":"Prepbytes","@id":"http:\/\/43.205.93.38\/#\/schema\/person\/3f7dc4ae851791d5947a7f99df363d5e"},"headline":"sed Command in Linux Unix With Examples","datePublished":"2023-12-08T06:42:17+00:00","dateModified":"2023-12-11T05:04:37+00:00","mainEntityOfPage":{"@id":"https:\/\/prepbytes.com\/blog\/sed-command-in-linux-unix-with-examples\/"},"wordCount":711,"commentCount":0,"publisher":{"@id":"http:\/\/43.205.93.38\/#organization"},"image":{"@id":"https:\/\/prepbytes.com\/blog\/sed-command-in-linux-unix-with-examples\/#primaryimage"},"thumbnailUrl":"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1702017716088-sed%20Command%20in%20Linux%20Unix%20With%20Examples.jpg","articleSection":["Linux"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/prepbytes.com\/blog\/sed-command-in-linux-unix-with-examples\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/prepbytes.com\/blog\/sed-command-in-linux-unix-with-examples\/","url":"https:\/\/prepbytes.com\/blog\/sed-command-in-linux-unix-with-examples\/","name":"sed Command in Linux Unix With Examples","isPartOf":{"@id":"http:\/\/43.205.93.38\/#website"},"primaryImageOfPage":{"@id":"https:\/\/prepbytes.com\/blog\/sed-command-in-linux-unix-with-examples\/#primaryimage"},"image":{"@id":"https:\/\/prepbytes.com\/blog\/sed-command-in-linux-unix-with-examples\/#primaryimage"},"thumbnailUrl":"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1702017716088-sed%20Command%20in%20Linux%20Unix%20With%20Examples.jpg","datePublished":"2023-12-08T06:42:17+00:00","dateModified":"2023-12-11T05:04:37+00:00","description":"sed operates by reading input from a file or a pipeline, processing the data line by line, and then printing the modified text to the standard output.","breadcrumb":{"@id":"https:\/\/prepbytes.com\/blog\/sed-command-in-linux-unix-with-examples\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/prepbytes.com\/blog\/sed-command-in-linux-unix-with-examples\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/prepbytes.com\/blog\/sed-command-in-linux-unix-with-examples\/#primaryimage","url":"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1702017716088-sed%20Command%20in%20Linux%20Unix%20With%20Examples.jpg","contentUrl":"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1702017716088-sed%20Command%20in%20Linux%20Unix%20With%20Examples.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/prepbytes.com\/blog\/sed-command-in-linux-unix-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":"sed Command in Linux Unix 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\/18489","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=18489"}],"version-history":[{"count":2,"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/posts\/18489\/revisions"}],"predecessor-version":[{"id":18493,"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/posts\/18489\/revisions\/18493"}],"wp:attachment":[{"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/media?parent=18489"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/categories?post=18489"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/tags?post=18489"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}