{"id":332,"date":"2019-01-25T18:38:42","date_gmt":"2019-01-26T02:38:42","guid":{"rendered":"https:\/\/angrysysadmins.tech\/?p=332"},"modified":"2019-01-30T17:10:49","modified_gmt":"2019-01-31T01:10:49","slug":"shell-scripting-setting-a-variable-equal-to-stderr","status":"publish","type":"post","link":"https:\/\/angrysysadmins.tech\/index.php\/2019\/01\/bailey\/shell-scripting-setting-a-variable-equal-to-stderr\/","title":{"rendered":"Shell Scripting: Setting a Variable Equal to stderr"},"content":{"rendered":"\n<p>Recently I had to have a variable set equal to stderr output in a Bash script for the first time. After looking around a little, the way that one can accomplish this is completely reasonable and makes sense, it just wasn&#8217;t what immediately came to mind.<br><br>These solutions will include stdout and stderr in the same variable. I have yet to find a way to completely separate the output.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Bash, Dash, zsh, ksh, and sh<\/h3>\n\n\n\n<p>In Bash, and other Bourne shells, you can most easily accomplish it by doing something like this:<br><br><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">errvar=$((echo \"err\" 1&gt;&amp;2) 2&gt;&amp;1)<\/pre>\n\n\n\n<p><br>The echo part just means to echo &#8220;err&#8221; on stderr rather than stdout. You can put any command you need within the inner parenthesis. Note that this method will mix the output of stdout and stderr.<br><br>To avoid having the output get mixed, we can do something like the following:<br><br><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"> errvar=$((curl angrysysadmins.tech) 2>&amp;1 >\/dev\/null)<br><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">fish<\/h3>\n\n\n\n<p>With fish, you set variables a bit differently. It took more than a few minutes to do the echo example I used before, so I decided on this example instead:<br><br><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><strong>set<\/strong> errvar (<strong>ssh<\/strong> -o ConnectTimeout=10 300.300.300.300 2&gt;&amp;1)<br><\/pre>\n\n\n\n<p><br>fish doesn&#8217;t do command substitutions the same way Bash does, so we can have one fewer sets of parenthesis.<br><br>This should output <code>ssh: Could not resolve hostname 300.300.300.300: Name or service not known<\/code> on stderr, which will be redirected into the variable <code>errvar<\/code>.<br><br>The same method as Bourne shells can be used to pipe only stderr to the variable, with fish it will look like this:<br><br><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><strong>set<\/strong> errvar (<strong>curl<\/strong> angrysysadmins.tech 2>&amp;1 >\/dev\/null)<br><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">tcsh and csh<\/h3>\n\n\n\n<p>C shell doesn&#8217;t have the output redirection power of Bourne shells, sadly. To the best of my knowledge, it is impossible to only redirect stderr. Repeating my SSH example from the fish shell, you can accomplish the same with:<br><br><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">set errvar=\"`ssh -o ConnectTimeout=10 300.300.300.300 |&amp; cat`\"<br><\/pre>\n\n\n\n<p><br>Be warned that this will redirect all output streams, not just standard error. So, a command that has the output mixed  (curl, for example) will also have it&#8217;s output redirected to the variable, potentially resulting in this:<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"637\" height=\"136\" src=\"https:\/\/angrysysadmins.tech\/wp-content\/uploads\/2019\/01\/output_redirect.png\" alt=\"All output streams were redirected to the variable, rather than just stderr.\" class=\"wp-image-336\" srcset=\"https:\/\/angrysysadmins.tech\/wp-content\/uploads\/2019\/01\/output_redirect.png 637w, https:\/\/angrysysadmins.tech\/wp-content\/uploads\/2019\/01\/output_redirect-300x64.png 300w\" sizes=\"auto, (max-width: 637px) 100vw, 637px\" \/><figcaption>All output streams were redirected to the variable.<\/figcaption><\/figure><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">oh<\/h3>\n\n\n\n<p>oh is the youngest shell on this list. The first release was in 2011 and development has been pretty active since then. Like with tcsh, it&#8217;s redirect abilities are not that powerful. The best way to manage this is to redirect all output streams to a variable, which can be done like so:<br><br><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">define errvar = `(ssh -o ConnectTimeout=10 300.300.300.300 !| cat)<br><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Closing Notes<\/h3>\n\n\n\n<p>I hope this helped you out! If there&#8217;s a shell I missed, if one of my examples is broken, or if you have any questions, feel free to leave a comment and I&#8217;ll do my best to address it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to redirect stderr into a variable in Bash (and other Bourne shells), tcsh, fish, or oh scripts, with examples for each.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[79,43,82,80,81,8,84,40,85,83,78],"tags":[89,88,93,91,95,94,64,87,86,92],"coauthors":[37],"class_list":["post-332","post","type-post","status-publish","format-standard","hentry","category-ash","category-bash","category-csh","category-dash","category-fish","category-linux","category-oh","category-scripting","category-sh","category-tcsh","category-zsh","tag-ash","tag-bash","tag-csh","tag-fish","tag-ksh","tag-oh","tag-scripting","tag-standard-error","tag-stderr","tag-tcsh"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Shell Scripting: Setting a Variable Equal to stderr - Angry Sysadmins<\/title>\n<meta name=\"description\" content=\"How to redirect stderr into a variable in Bash (and other Bourne shells), tcsh, fish, or oh scripts, with examples for each.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/angrysysadmins.tech\/index.php\/2019\/01\/bailey\/shell-scripting-setting-a-variable-equal-to-stderr\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Shell Scripting: Setting a Variable Equal to stderr - Angry Sysadmins\" \/>\n<meta property=\"og:description\" content=\"How to redirect stderr into a variable in Bash (and other Bourne shells), tcsh, fish, or oh scripts, with examples for each.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/angrysysadmins.tech\/index.php\/2019\/01\/bailey\/shell-scripting-setting-a-variable-equal-to-stderr\/\" \/>\n<meta property=\"og:site_name\" content=\"Angry Sysadmins\" \/>\n<meta property=\"article:published_time\" content=\"2019-01-26T02:38:42+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-01-31T01:10:49+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/angrysysadmins.tech\/wp-content\/uploads\/2019\/01\/output_redirect.png\" \/>\n<meta name=\"author\" content=\"Cat Kasin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Cat Kasin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/angrysysadmins.tech\\\/index.php\\\/2019\\\/01\\\/bailey\\\/shell-scripting-setting-a-variable-equal-to-stderr\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/angrysysadmins.tech\\\/index.php\\\/2019\\\/01\\\/bailey\\\/shell-scripting-setting-a-variable-equal-to-stderr\\\/\"},\"author\":{\"name\":\"Cat Kasin\",\"@id\":\"https:\\\/\\\/angrysysadmins.tech\\\/#\\\/schema\\\/person\\\/151b2d23439b55b970060836f317a14d\"},\"headline\":\"Shell Scripting: Setting a Variable Equal to stderr\",\"datePublished\":\"2019-01-26T02:38:42+00:00\",\"dateModified\":\"2019-01-31T01:10:49+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/angrysysadmins.tech\\\/index.php\\\/2019\\\/01\\\/bailey\\\/shell-scripting-setting-a-variable-equal-to-stderr\\\/\"},\"wordCount\":423,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/angrysysadmins.tech\\\/index.php\\\/2019\\\/01\\\/bailey\\\/shell-scripting-setting-a-variable-equal-to-stderr\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/angrysysadmins.tech\\\/wp-content\\\/uploads\\\/2019\\\/01\\\/output_redirect.png\",\"keywords\":[\"ash\",\"bash\",\"csh\",\"fish\",\"ksh\",\"oh\",\"Scripting\",\"standard error\",\"stderr\",\"tcsh\"],\"articleSection\":[\"ash\",\"Bash\",\"csh\",\"Dash\",\"fish\",\"Linux\",\"oh\",\"Scripting\",\"sh\",\"tcsh\",\"zsh\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/angrysysadmins.tech\\\/index.php\\\/2019\\\/01\\\/bailey\\\/shell-scripting-setting-a-variable-equal-to-stderr\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/angrysysadmins.tech\\\/index.php\\\/2019\\\/01\\\/bailey\\\/shell-scripting-setting-a-variable-equal-to-stderr\\\/\",\"url\":\"https:\\\/\\\/angrysysadmins.tech\\\/index.php\\\/2019\\\/01\\\/bailey\\\/shell-scripting-setting-a-variable-equal-to-stderr\\\/\",\"name\":\"Shell Scripting: Setting a Variable Equal to stderr - Angry Sysadmins\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/angrysysadmins.tech\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/angrysysadmins.tech\\\/index.php\\\/2019\\\/01\\\/bailey\\\/shell-scripting-setting-a-variable-equal-to-stderr\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/angrysysadmins.tech\\\/index.php\\\/2019\\\/01\\\/bailey\\\/shell-scripting-setting-a-variable-equal-to-stderr\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/angrysysadmins.tech\\\/wp-content\\\/uploads\\\/2019\\\/01\\\/output_redirect.png\",\"datePublished\":\"2019-01-26T02:38:42+00:00\",\"dateModified\":\"2019-01-31T01:10:49+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/angrysysadmins.tech\\\/#\\\/schema\\\/person\\\/151b2d23439b55b970060836f317a14d\"},\"description\":\"How to redirect stderr into a variable in Bash (and other Bourne shells), tcsh, fish, or oh scripts, with examples for each.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/angrysysadmins.tech\\\/index.php\\\/2019\\\/01\\\/bailey\\\/shell-scripting-setting-a-variable-equal-to-stderr\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/angrysysadmins.tech\\\/index.php\\\/2019\\\/01\\\/bailey\\\/shell-scripting-setting-a-variable-equal-to-stderr\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/angrysysadmins.tech\\\/index.php\\\/2019\\\/01\\\/bailey\\\/shell-scripting-setting-a-variable-equal-to-stderr\\\/#primaryimage\",\"url\":\"https:\\\/\\\/angrysysadmins.tech\\\/wp-content\\\/uploads\\\/2019\\\/01\\\/output_redirect.png\",\"contentUrl\":\"https:\\\/\\\/angrysysadmins.tech\\\/wp-content\\\/uploads\\\/2019\\\/01\\\/output_redirect.png\",\"width\":637,\"height\":136,\"caption\":\"All output streams were redirected to the variable.\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/angrysysadmins.tech\\\/index.php\\\/2019\\\/01\\\/bailey\\\/shell-scripting-setting-a-variable-equal-to-stderr\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/angrysysadmins.tech\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Shell Scripting: Setting a Variable Equal to stderr\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/angrysysadmins.tech\\\/#website\",\"url\":\"https:\\\/\\\/angrysysadmins.tech\\\/\",\"name\":\"Angry Sysadmins\",\"description\":\"A site full of angry sysadmins here to vent and help\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/angrysysadmins.tech\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/angrysysadmins.tech\\\/#\\\/schema\\\/person\\\/151b2d23439b55b970060836f317a14d\",\"name\":\"Cat Kasin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e83bfa1b7d9ce082bd6b68938f580039db8d5571ad6c5d012e6a5243a189309e?s=96&d=mm&r=g23b0ffb86dd6c08514a66a6a50f7a0a9\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e83bfa1b7d9ce082bd6b68938f580039db8d5571ad6c5d012e6a5243a189309e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e83bfa1b7d9ce082bd6b68938f580039db8d5571ad6c5d012e6a5243a189309e?s=96&d=mm&r=g\",\"caption\":\"Cat Kasin\"},\"description\":\"I build virtual environments and challenges for Cybersecurity students to complete as a way to gain experience before graduating and entering the workforce.\",\"url\":\"https:\\\/\\\/angrysysadmins.tech\\\/index.php\\\/author\\\/bailey\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Shell Scripting: Setting a Variable Equal to stderr - Angry Sysadmins","description":"How to redirect stderr into a variable in Bash (and other Bourne shells), tcsh, fish, or oh scripts, with examples for each.","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:\/\/angrysysadmins.tech\/index.php\/2019\/01\/bailey\/shell-scripting-setting-a-variable-equal-to-stderr\/","og_locale":"en_US","og_type":"article","og_title":"Shell Scripting: Setting a Variable Equal to stderr - Angry Sysadmins","og_description":"How to redirect stderr into a variable in Bash (and other Bourne shells), tcsh, fish, or oh scripts, with examples for each.","og_url":"https:\/\/angrysysadmins.tech\/index.php\/2019\/01\/bailey\/shell-scripting-setting-a-variable-equal-to-stderr\/","og_site_name":"Angry Sysadmins","article_published_time":"2019-01-26T02:38:42+00:00","article_modified_time":"2019-01-31T01:10:49+00:00","og_image":[{"url":"https:\/\/angrysysadmins.tech\/wp-content\/uploads\/2019\/01\/output_redirect.png","type":"","width":"","height":""}],"author":"Cat Kasin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Cat Kasin","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/angrysysadmins.tech\/index.php\/2019\/01\/bailey\/shell-scripting-setting-a-variable-equal-to-stderr\/#article","isPartOf":{"@id":"https:\/\/angrysysadmins.tech\/index.php\/2019\/01\/bailey\/shell-scripting-setting-a-variable-equal-to-stderr\/"},"author":{"name":"Cat Kasin","@id":"https:\/\/angrysysadmins.tech\/#\/schema\/person\/151b2d23439b55b970060836f317a14d"},"headline":"Shell Scripting: Setting a Variable Equal to stderr","datePublished":"2019-01-26T02:38:42+00:00","dateModified":"2019-01-31T01:10:49+00:00","mainEntityOfPage":{"@id":"https:\/\/angrysysadmins.tech\/index.php\/2019\/01\/bailey\/shell-scripting-setting-a-variable-equal-to-stderr\/"},"wordCount":423,"commentCount":0,"image":{"@id":"https:\/\/angrysysadmins.tech\/index.php\/2019\/01\/bailey\/shell-scripting-setting-a-variable-equal-to-stderr\/#primaryimage"},"thumbnailUrl":"https:\/\/angrysysadmins.tech\/wp-content\/uploads\/2019\/01\/output_redirect.png","keywords":["ash","bash","csh","fish","ksh","oh","Scripting","standard error","stderr","tcsh"],"articleSection":["ash","Bash","csh","Dash","fish","Linux","oh","Scripting","sh","tcsh","zsh"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/angrysysadmins.tech\/index.php\/2019\/01\/bailey\/shell-scripting-setting-a-variable-equal-to-stderr\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/angrysysadmins.tech\/index.php\/2019\/01\/bailey\/shell-scripting-setting-a-variable-equal-to-stderr\/","url":"https:\/\/angrysysadmins.tech\/index.php\/2019\/01\/bailey\/shell-scripting-setting-a-variable-equal-to-stderr\/","name":"Shell Scripting: Setting a Variable Equal to stderr - Angry Sysadmins","isPartOf":{"@id":"https:\/\/angrysysadmins.tech\/#website"},"primaryImageOfPage":{"@id":"https:\/\/angrysysadmins.tech\/index.php\/2019\/01\/bailey\/shell-scripting-setting-a-variable-equal-to-stderr\/#primaryimage"},"image":{"@id":"https:\/\/angrysysadmins.tech\/index.php\/2019\/01\/bailey\/shell-scripting-setting-a-variable-equal-to-stderr\/#primaryimage"},"thumbnailUrl":"https:\/\/angrysysadmins.tech\/wp-content\/uploads\/2019\/01\/output_redirect.png","datePublished":"2019-01-26T02:38:42+00:00","dateModified":"2019-01-31T01:10:49+00:00","author":{"@id":"https:\/\/angrysysadmins.tech\/#\/schema\/person\/151b2d23439b55b970060836f317a14d"},"description":"How to redirect stderr into a variable in Bash (and other Bourne shells), tcsh, fish, or oh scripts, with examples for each.","breadcrumb":{"@id":"https:\/\/angrysysadmins.tech\/index.php\/2019\/01\/bailey\/shell-scripting-setting-a-variable-equal-to-stderr\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/angrysysadmins.tech\/index.php\/2019\/01\/bailey\/shell-scripting-setting-a-variable-equal-to-stderr\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/angrysysadmins.tech\/index.php\/2019\/01\/bailey\/shell-scripting-setting-a-variable-equal-to-stderr\/#primaryimage","url":"https:\/\/angrysysadmins.tech\/wp-content\/uploads\/2019\/01\/output_redirect.png","contentUrl":"https:\/\/angrysysadmins.tech\/wp-content\/uploads\/2019\/01\/output_redirect.png","width":637,"height":136,"caption":"All output streams were redirected to the variable."},{"@type":"BreadcrumbList","@id":"https:\/\/angrysysadmins.tech\/index.php\/2019\/01\/bailey\/shell-scripting-setting-a-variable-equal-to-stderr\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/angrysysadmins.tech\/"},{"@type":"ListItem","position":2,"name":"Shell Scripting: Setting a Variable Equal to stderr"}]},{"@type":"WebSite","@id":"https:\/\/angrysysadmins.tech\/#website","url":"https:\/\/angrysysadmins.tech\/","name":"Angry Sysadmins","description":"A site full of angry sysadmins here to vent and help","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/angrysysadmins.tech\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/angrysysadmins.tech\/#\/schema\/person\/151b2d23439b55b970060836f317a14d","name":"Cat Kasin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/e83bfa1b7d9ce082bd6b68938f580039db8d5571ad6c5d012e6a5243a189309e?s=96&d=mm&r=g23b0ffb86dd6c08514a66a6a50f7a0a9","url":"https:\/\/secure.gravatar.com\/avatar\/e83bfa1b7d9ce082bd6b68938f580039db8d5571ad6c5d012e6a5243a189309e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e83bfa1b7d9ce082bd6b68938f580039db8d5571ad6c5d012e6a5243a189309e?s=96&d=mm&r=g","caption":"Cat Kasin"},"description":"I build virtual environments and challenges for Cybersecurity students to complete as a way to gain experience before graduating and entering the workforce.","url":"https:\/\/angrysysadmins.tech\/index.php\/author\/bailey\/"}]}},"_links":{"self":[{"href":"https:\/\/angrysysadmins.tech\/index.php\/wp-json\/wp\/v2\/posts\/332","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/angrysysadmins.tech\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/angrysysadmins.tech\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/angrysysadmins.tech\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/angrysysadmins.tech\/index.php\/wp-json\/wp\/v2\/comments?post=332"}],"version-history":[{"count":8,"href":"https:\/\/angrysysadmins.tech\/index.php\/wp-json\/wp\/v2\/posts\/332\/revisions"}],"predecessor-version":[{"id":361,"href":"https:\/\/angrysysadmins.tech\/index.php\/wp-json\/wp\/v2\/posts\/332\/revisions\/361"}],"wp:attachment":[{"href":"https:\/\/angrysysadmins.tech\/index.php\/wp-json\/wp\/v2\/media?parent=332"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/angrysysadmins.tech\/index.php\/wp-json\/wp\/v2\/categories?post=332"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/angrysysadmins.tech\/index.php\/wp-json\/wp\/v2\/tags?post=332"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/angrysysadmins.tech\/index.php\/wp-json\/wp\/v2\/coauthors?post=332"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}