{"id":18341,"date":"2023-11-21T09:55:25","date_gmt":"2023-11-21T09:55:25","guid":{"rendered":"https:\/\/www.prepbytes.com\/blog\/?p=18341"},"modified":"2024-07-01T10:48:22","modified_gmt":"2024-07-01T10:48:22","slug":"tr-command-in-unix-linux-with-examples","status":"publish","type":"post","link":"https:\/\/prepbytes.com\/blog\/tr-command-in-unix-linux-with-examples\/","title":{"rendered":"tr Command in Unix Linux with Examples"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1700560510600-tr%20Command%20in%20Unix%20Linux%20with%20Examples.jpg\" alt=\"\" \/><\/p>\n<p>The tr command in Unix\/Linux is a powerful utility used for translating or deleting characters from standard input and writing the result to standard output. It is commonly employed for text processing tasks such as transforming case (e.g., converting lowercase to uppercase), removing specific characters, or replacing a set of characters with another set. The simplicity and efficiency of the tr command make it a valuable tool for shell scripting and command-line operations, providing users with a straightforward way to manipulate text streams.<\/p>\n<h2>What is tr Command in Unix Linux?<\/h2>\n<p>In the Unix\/Linux command-line environment, the tr command is a versatile tool for translating or deleting characters. Its primary purpose is to transform the contents of a file or standard input by replacing certain characters with others or by deleting specific characters. In this article, we will explore the functionality of the tr command and provide practical examples of its usage.<\/p>\n<h3>Basic Syntax of tr Command in Unix Linux:<\/h3>\n<p>The basic syntax of the tr command is as follows:<\/p>\n<pre><code>tr [options] SET1 [SET2]<\/code><\/pre>\n<ul>\n<li>SET1: Specifies the set of characters to be replaced or deleted.<\/li>\n<li>SET2: Specifies the replacement set of characters.<\/li>\n<\/ul>\n<p><strong>Examples of tr Command in Unix Linux<\/strong><br \/>\nBelow are some examples of tr Command in Unix Linux:<\/p>\n<p><strong>Example 1: Basic Character Replacement<\/strong><\/p>\n<pre><code>echo \"Hello, World!\" | tr 'l' 'L'<\/code><\/pre>\n<p>This command replaces all occurrences of the lowercase letter &#8216;l&#8217; with the uppercase letter &#8216;L&#8217;. The output will be: &quot;HeLLo, WorLd!&quot;<\/p>\n<p><strong>Example 2: Deleting Characters<\/strong><\/p>\n<pre><code>echo \"Remove vowels\" | tr -d 'aeiou'<\/code><\/pre>\n<p>The -d option deletes characters from the input set. In this example, it removes all vowels from the given string, resulting in &quot;Rmv vwls.&quot;<\/p>\n<p><strong>Example 3: Squeezing Repeated Characters<\/strong><\/p>\n<pre><code>echo \"too many    spaces\" | tr -s ' '<\/code><\/pre>\n<p>The -s option squeezes repeated characters into a single character. In this case, it compresses consecutive spaces into one space, producing &quot;too many spaces.&quot;<\/p>\n<p><strong>Example 4: Translating Character Ranges<\/strong><\/p>\n<pre><code>echo \"12345\" | tr '0-9' 'a-j'<\/code><\/pre>\n<p>This command translates each digit to its corresponding lowercase letter, resulting in &quot;abcdefghij.&quot;<\/p>\n<p><strong>Example 5: Translate with Complement Set<\/strong><\/p>\n<pre><code>echo \"Hello, World!\" | tr -c 'aeiou' '*'<\/code><\/pre>\n<p>The -c option complements the specified character set. In this example, it replaces all non-vowel characters with an asterisk, resulting in &quot;e<strong>o, <\/strong>old!&quot;<\/p>\n<p><strong>Example 6: Uppercase to Lowercase<\/strong><\/p>\n<pre><code>echo \"Convert TO lowercase\" | tr 'A-Z' 'a-z'<\/code><\/pre>\n<p>This command converts all uppercase letters to lowercase, producing &quot;convert to lowercase.&quot;<\/p>\n<p><strong>Conclusion:<\/strong><br \/>\nThe tr command in Unix\/Linux is a versatile and essential tool for text manipulation, offering a range of functionalities from character translation to deletion. Its ability to handle simple text transformations efficiently makes it a staple in the toolkit of Unix\/Linux users, especially for those involved in shell scripting and command-line text processing. By understanding and leveraging the capabilities of the tr command, users can perform a wide array of text manipulations with ease and precision.<\/p>\n<h2>FAQs Related to tr Command in Unix Linux with Examples<\/h2>\n<p>Here are some of the FAQs related to tr Command in Unix Linux with Example:<\/p>\n<p><strong>1. What is the tr command used for in Unix\/Linux?<br \/>\nAnswer:<\/strong> The tr command is used for translating, replacing, or deleting characters from standard input and writing the result to standard output. It is often used for tasks like converting case, deleting specific characters, or replacing characters.<\/p>\n<p><strong>2. How do you use the tr command to convert lowercase letters to uppercase?<br \/>\nAnswer:<\/strong> You can use the tr command with the [:lower:] and [:upper:] character classes to convert lowercase letters to uppercase. For example:<\/p>\n<pre><code>echo \"hello world\" | tr '[:lower:]' '[:upper:]'<\/code><\/pre>\n<p>This command will output &quot;HELLO WORLD&quot;.<\/p>\n<p><strong>3. Can the tr command handle multiple character replacements simultaneously?<br \/>\nAnswer:<\/strong> Yes, the tr command can handle multiple character replacements simultaneously by specifying sets of characters. For example:<\/p>\n<pre><code>echo \"abcde\" | tr 'abc' '123'<\/code><\/pre>\n<p>This command will output &quot;123de&quot;.<\/p>\n<p><strong>4. How do you delete specific characters using the tr command?<br \/>\nAnswer:<\/strong> To delete specific characters, use the -d option with tr. For example, to delete all digits from a string:<\/p>\n<pre><code>echo \"hello123world\" | tr -d '0-9'<\/code><\/pre>\n<p>This command will output &quot;helloworld&quot;.<\/p>\n<p><strong>5. What does the -s option do in the tr command?<br \/>\nAnswer:<\/strong> The -s option in the tr command stands for &quot;squeeze,&quot; and it replaces multiple consecutive occurrences of a character with a single occurrence. For example:<\/p>\n<pre><code>echo \"hellooo   world\" | tr -s ' o'<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>The tr command in Unix\/Linux is a powerful utility used for translating or deleting characters from standard input and writing the result to standard output. It is commonly employed for text processing tasks such as transforming case (e.g., converting lowercase to uppercase), removing specific characters, or replacing a set of characters with another set. The [&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-18341","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>tr Command in Unix Linux with Examples<\/title>\n<meta name=\"description\" content=\"In the Unix\/Linux command-line environment, the tr command is a versatile tool for translating or deleting characters.\" \/>\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\/tr-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=\"tr Command in Unix Linux with Examples\" \/>\n<meta property=\"og:description\" content=\"In the Unix\/Linux command-line environment, the tr command is a versatile tool for translating or deleting characters.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/prepbytes.com\/blog\/tr-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-11-21T09:55:25+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-07-01T10:48:22+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1700560510600-tr%20Command%20in%20Unix%20Linux%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\/tr-command-in-unix-linux-with-examples\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/prepbytes.com\/blog\/tr-command-in-unix-linux-with-examples\/\"},\"author\":{\"name\":\"Prepbytes\",\"@id\":\"http:\/\/43.205.93.38\/#\/schema\/person\/3f7dc4ae851791d5947a7f99df363d5e\"},\"headline\":\"tr Command in Unix Linux with Examples\",\"datePublished\":\"2023-11-21T09:55:25+00:00\",\"dateModified\":\"2024-07-01T10:48:22+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/prepbytes.com\/blog\/tr-command-in-unix-linux-with-examples\/\"},\"wordCount\":670,\"commentCount\":0,\"publisher\":{\"@id\":\"http:\/\/43.205.93.38\/#organization\"},\"image\":{\"@id\":\"https:\/\/prepbytes.com\/blog\/tr-command-in-unix-linux-with-examples\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1700560510600-tr%20Command%20in%20Unix%20Linux%20with%20Examples.jpg\",\"articleSection\":[\"Linux\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/prepbytes.com\/blog\/tr-command-in-unix-linux-with-examples\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/prepbytes.com\/blog\/tr-command-in-unix-linux-with-examples\/\",\"url\":\"https:\/\/prepbytes.com\/blog\/tr-command-in-unix-linux-with-examples\/\",\"name\":\"tr Command in Unix Linux with Examples\",\"isPartOf\":{\"@id\":\"http:\/\/43.205.93.38\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/prepbytes.com\/blog\/tr-command-in-unix-linux-with-examples\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/prepbytes.com\/blog\/tr-command-in-unix-linux-with-examples\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1700560510600-tr%20Command%20in%20Unix%20Linux%20with%20Examples.jpg\",\"datePublished\":\"2023-11-21T09:55:25+00:00\",\"dateModified\":\"2024-07-01T10:48:22+00:00\",\"description\":\"In the Unix\/Linux command-line environment, the tr command is a versatile tool for translating or deleting characters.\",\"breadcrumb\":{\"@id\":\"https:\/\/prepbytes.com\/blog\/tr-command-in-unix-linux-with-examples\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/prepbytes.com\/blog\/tr-command-in-unix-linux-with-examples\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/prepbytes.com\/blog\/tr-command-in-unix-linux-with-examples\/#primaryimage\",\"url\":\"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1700560510600-tr%20Command%20in%20Unix%20Linux%20with%20Examples.jpg\",\"contentUrl\":\"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1700560510600-tr%20Command%20in%20Unix%20Linux%20with%20Examples.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/prepbytes.com\/blog\/tr-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\":\"tr 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":"tr Command in Unix Linux with Examples","description":"In the Unix\/Linux command-line environment, the tr command is a versatile tool for translating or deleting characters.","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\/tr-command-in-unix-linux-with-examples\/","og_locale":"en_US","og_type":"article","og_title":"tr Command in Unix Linux with Examples","og_description":"In the Unix\/Linux command-line environment, the tr command is a versatile tool for translating or deleting characters.","og_url":"https:\/\/prepbytes.com\/blog\/tr-command-in-unix-linux-with-examples\/","og_site_name":"PrepBytes Blog","article_publisher":"https:\/\/www.facebook.com\/prepbytes0211\/","article_published_time":"2023-11-21T09:55:25+00:00","article_modified_time":"2024-07-01T10:48:22+00:00","og_image":[{"url":"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1700560510600-tr%20Command%20in%20Unix%20Linux%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\/tr-command-in-unix-linux-with-examples\/#article","isPartOf":{"@id":"https:\/\/prepbytes.com\/blog\/tr-command-in-unix-linux-with-examples\/"},"author":{"name":"Prepbytes","@id":"http:\/\/43.205.93.38\/#\/schema\/person\/3f7dc4ae851791d5947a7f99df363d5e"},"headline":"tr Command in Unix Linux with Examples","datePublished":"2023-11-21T09:55:25+00:00","dateModified":"2024-07-01T10:48:22+00:00","mainEntityOfPage":{"@id":"https:\/\/prepbytes.com\/blog\/tr-command-in-unix-linux-with-examples\/"},"wordCount":670,"commentCount":0,"publisher":{"@id":"http:\/\/43.205.93.38\/#organization"},"image":{"@id":"https:\/\/prepbytes.com\/blog\/tr-command-in-unix-linux-with-examples\/#primaryimage"},"thumbnailUrl":"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1700560510600-tr%20Command%20in%20Unix%20Linux%20with%20Examples.jpg","articleSection":["Linux"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/prepbytes.com\/blog\/tr-command-in-unix-linux-with-examples\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/prepbytes.com\/blog\/tr-command-in-unix-linux-with-examples\/","url":"https:\/\/prepbytes.com\/blog\/tr-command-in-unix-linux-with-examples\/","name":"tr Command in Unix Linux with Examples","isPartOf":{"@id":"http:\/\/43.205.93.38\/#website"},"primaryImageOfPage":{"@id":"https:\/\/prepbytes.com\/blog\/tr-command-in-unix-linux-with-examples\/#primaryimage"},"image":{"@id":"https:\/\/prepbytes.com\/blog\/tr-command-in-unix-linux-with-examples\/#primaryimage"},"thumbnailUrl":"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1700560510600-tr%20Command%20in%20Unix%20Linux%20with%20Examples.jpg","datePublished":"2023-11-21T09:55:25+00:00","dateModified":"2024-07-01T10:48:22+00:00","description":"In the Unix\/Linux command-line environment, the tr command is a versatile tool for translating or deleting characters.","breadcrumb":{"@id":"https:\/\/prepbytes.com\/blog\/tr-command-in-unix-linux-with-examples\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/prepbytes.com\/blog\/tr-command-in-unix-linux-with-examples\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/prepbytes.com\/blog\/tr-command-in-unix-linux-with-examples\/#primaryimage","url":"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1700560510600-tr%20Command%20in%20Unix%20Linux%20with%20Examples.jpg","contentUrl":"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1700560510600-tr%20Command%20in%20Unix%20Linux%20with%20Examples.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/prepbytes.com\/blog\/tr-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":"tr 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\/18341","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=18341"}],"version-history":[{"count":3,"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/posts\/18341\/revisions"}],"predecessor-version":[{"id":19197,"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/posts\/18341\/revisions\/19197"}],"wp:attachment":[{"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/media?parent=18341"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/categories?post=18341"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/tags?post=18341"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}