{"id":4911,"date":"2023-01-19T09:28:47","date_gmt":"2023-01-19T09:28:47","guid":{"rendered":"https:\/\/arzhost.com\/blogs\/?p=4911"},"modified":"2024-10-15T19:18:07","modified_gmt":"2024-10-15T14:18:07","slug":"bash-math-operations","status":"publish","type":"post","link":"https:\/\/arzhost.com\/blogs\/bash-math-operations\/","title":{"rendered":"Bash Math Operations: A Comprehensive Guide"},"content":{"rendered":"\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_74 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/arzhost.com\/blogs\/bash-math-operations\/#Introduction_Bash_Math_Operations_and_How_They_Help_in_Scripting\" >Introduction: Bash Math Operations and How They Help in Scripting<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/arzhost.com\/blogs\/bash-math-operations\/#Why_Do_You_Need_Bash_Math_Operations_Explained_Scripting\" >Why Do You Need Bash Math Operations Explained Scripting?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/arzhost.com\/blogs\/bash-math-operations\/#Math_Commands_and_Techniques_in_Bash\" >Math Commands and Techniques in Bash<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/arzhost.com\/blogs\/bash-math-operations\/#The_Clocks_Ticking_Limited_High-Performance_VPS_Hosting\" >The Clock&#8217;s Ticking: Limited High-Performance VPS Hosting<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/arzhost.com\/blogs\/bash-math-operations\/#1_Calculus_Expansion\" >1: Calculus Expansion<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/arzhost.com\/blogs\/bash-math-operations\/#2_Command_awk\" >2: Command awk<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/arzhost.com\/blogs\/bash-math-operations\/#3_Command_bc\" >3: Command bc<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/arzhost.com\/blogs\/bash-math-operations\/#4_Command_dc\" >4: Command dc<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/arzhost.com\/blogs\/bash-math-operations\/#Your_Server_Your_Rules%E2%80%94Save_on_High-Powered_Dedicated_Hosting\" >Your Server, Your Rules\u2014Save on High-Powered Dedicated Hosting!<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/arzhost.com\/blogs\/bash-math-operations\/#5_Announce_Command\" >5: Announce Command<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/arzhost.com\/blogs\/bash-math-operations\/#6_Command_expr\" >6: Command expr<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/arzhost.com\/blogs\/bash-math-operations\/#7_Element_Command\" >7: Element Command<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/arzhost.com\/blogs\/bash-math-operations\/#8_Allow_Command\" >8: Allow Command<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/arzhost.com\/blogs\/bash-math-operations\/#9_Command_Test\" >9: Command Test<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/arzhost.com\/blogs\/bash-math-operations\/#Conclusion\" >Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Introduction_Bash_Math_Operations_and_How_They_Help_in_Scripting\"><\/span>Introduction: Bash Math Operations and How They Help in Scripting<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>In Bash scripting, Bash Math Operations are Explained, and arithmetic operations are crucial. Basic arithmetic operations are necessary for many automation jobs, including converting the CPU temperature to Fahrenheit. Bash is a straightforward language to learn.<\/p>\n\n\n\n<p><u>This tutorial shows you several different ways to perform simple math in Bash:<\/u><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Access to a terminal or command line.<\/li>\n\n\n\n<li>Examples of text editors for coding include Nano and <strong>Vi\/Vim<\/strong>.<\/li>\n\n\n\n<li>Basic familiarity with Bash scripting.<\/li>\n<\/ol>\n\n\n\n<p>For more Articles and Guides like this, Subscribe to our <a href=\"https:\/\/arzhost.com\/blogs\/\"><strong>Blog<\/strong><\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Why_Do_You_Need_Bash_Math_Operations_Explained_Scripting\"><\/span><strong>Why Do You Need Bash Math Operations Explained Scripting?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Although the primary goal of <a href=\"https:\/\/www.codecademy.com\/learn\/bash-scripting\" target=\"_blank\" rel=\"noopener\"><strong>Bash scripting<\/strong><\/a> is not mathematics, being able to perform basic calculations is useful in a variety of situations.<\/p>\n\n\n\n<p><u>Typical use cases comprise:<\/u><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Number addition, subtraction, multiplication, and division.<\/li>\n\n\n\n<li>rounding figures.<\/li>\n\n\n\n<li>Numbers that increase and decrease.<\/li>\n\n\n\n<li>Unit conversions.<\/li>\n\n\n\n<li>Calculations with floating points.<\/li>\n\n\n\n<li>Calculating proportions.<\/li>\n\n\n\n<li>Utilizing various number bases (binary, octal, or hexadecimal).<\/li>\n<\/ol>\n\n\n\n<p><span style=\"\">Bash Math Operations Explained<\/span> and arithmetic in Bash scripting assist in doing a quick calculation, producing instant results in the preferred format, depending on the automation requirement.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Math_Commands_and_Techniques_in_Bash\"><\/span><strong>Math Commands and Techniques in Bash<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Some Linux commands enable the instantaneous execution of simple and complex calculations. Examples using each technique are provided in this section.<\/p>\n\n\n\n<p><iframe title=\"YouTube video player\" src=\"https:\/\/www.youtube.com\/embed\/3-DCmbO9VL8\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n\n\n\n<div class=\"wp-block-uagb-call-to-action uagb-block-35ffcf87 wp-block-button uag-blocks-common-selector\" style=\"--z-index-desktop:479;;--z-index-tablet:undefined;;--z-index-mobile:undefined;\"><div class=\"uagb-cta__wrap\"><h2 class=\"uagb-cta__title\"><span class=\"ez-toc-section\" id=\"The_Clocks_Ticking_Limited_High-Performance_VPS_Hosting\"><\/span><a href=\"https:\/\/arzhost.com\/vps\/\" data-type=\"link\" data-id=\"https:\/\/arzhost.com\/vps\/\">The Clock&#8217;s Ticking: Limited High-Performance VPS Hosting<\/a><span class=\"ez-toc-section-end\"><\/span><\/h2><p class=\"uagb-cta__desc\">Supercharge Your Site with VPS &#8211; Starting at just $<strong>12.50\/month<\/strong><\/p><\/div><div class=\"uagb-cta__buttons\"><a href=\"https:\/\/arzhost.com\/vps\/\" class=\"uagb-cta__button-link-wrapper wp-block-button__link\" target=\"_self\" rel=\"noopener noreferrer\">Read More<\/a><\/div><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"1_Calculus_Expansion\"><\/span><strong>1: Calculus Expansion<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>The shell arithmetic expansion method is the preferred one for performing math in Bash. Math expressions are evaluated using the built-in capability, which then returns the outcome. For arithmetic expansions, the syntax is:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>$((expression))<\/code><\/li>\n<\/ul>\n\n\n\n<p><u>The following is the syntax:<\/u><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><code>The compound notation that evaluates an expression is (()).<\/code><\/li>\n\n\n\n<li><code>the result is stored using the variable operator $.<\/code><\/li>\n<\/ol>\n\n\n\n<p><u>As an illustration, add two integers and repeat the outcome:<\/u><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>echo $((2+3))<\/code><\/li>\n<\/ul>\n\n\n\n<p>When working with Bash scripts, the arithmetic expansion notation is the recommended technique. In Bash, the notation is frequently used in conjunction with if statements and for loops. <a href=\"https:\/\/arzhost.com\/blogs\/how-to-run-a-bash-script-in-terminal\/\"><strong>Running Bash scripts in the terminal<\/strong><\/a> is a powerful way to automate tasks, streamline processes, and manage system operations more efficiently<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"2_Command_awk\"><\/span><strong>2: Command awk<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p><u>Pattern expressions are selected using the awk command. Use the example statement below to execute addition using the awk command:<\/u><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>awk 'BEGIN x = 2; y = 3; print 'x + y = '(x + y)'<\/code><\/li>\n<\/ul>\n\n\n\n<p>The output for the variables<strong> x = 2<\/strong> and <strong>y = 3<\/strong> prints <strong>x + y = 5<\/strong> to the console.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"3_Command_bc\"><\/span><strong>3: Command bc<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>The command-line tool bc command (short for basic calculator) interprets the bc language. To conduct arbitrary precision arithmetic, the application runs as an interactive program or accepts standard input.<\/p>\n\n\n\n<p><u>To retrieve results, enter an equation from standard input into the command. For instance:<\/u><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>bc | echo \"2+3\"<\/code><\/li>\n<\/ul>\n\n\n\n<p>The calculation&#8217;s outcome is printed in the output.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"4_Command_dc\"><\/span><strong>4: Command dc<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Reverse Polish notation is supported by the calculator utility known as the dc command (short for desk calculator). The application offers unlimited precision arithmetic and accepts standard input.<\/p>\n\n\n\n<p><u>To retrieve the result, provide a standard input equation into the program. For instance:<\/u><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>dc echo \"2 3 + p\"<\/code><\/li>\n<\/ul>\n\n\n\n<p>The print signal is sent to the dc command by the equation&#8217;s p.<\/p>\n\n\n\n<div class=\"wp-block-uagb-call-to-action uagb-block-a847eebc wp-block-button uag-blocks-common-selector\" style=\"--z-index-desktop:479;;--z-index-tablet:undefined;;--z-index-mobile:undefined;\"><div class=\"uagb-cta__wrap\"><h2 class=\"uagb-cta__title\"><span class=\"ez-toc-section\" id=\"Your_Server_Your_Rules%E2%80%94Save_on_High-Powered_Dedicated_Hosting\"><\/span><a href=\"https:\/\/arzhost.com\/dedicated-servers\/\" data-type=\"link\" data-id=\"https:\/\/arzhost.com\/dedicated-servers\/\">Your Server, Your Rules\u2014Save on High-Powered Dedicated Hosting!<\/a><span class=\"ez-toc-section-end\"><\/span><\/h2><p class=\"uagb-cta__desc\">Dedicated to Performance\u2014Get an Amazing Offer on Your Own Private Server!<\/p><\/div><div class=\"uagb-cta__buttons\"><a href=\"https:\/\/arzhost.com\/dedicated-servers\/\" class=\"uagb-cta__button-link-wrapper wp-block-button__link\" target=\"_self\" rel=\"noopener noreferrer\">Read More<\/a><\/div><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"5_Announce_Command\"><\/span><strong>5: Announce Command<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Integer computations are supported via the Bash declare command. <strong>Add the -I option<\/strong> to declare to utilize it for calculations. For instance:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>Declare x=2y=3z=x+y<\/code><\/li>\n<\/ul>\n\n\n\n<p><u>To observe the outcomes, echo each variable:<\/u><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>echo $x + $y = $z<\/code><\/li>\n<\/ul>\n\n\n\n<p>Each variable is printed to the console in the output.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"6_Command_expr\"><\/span><strong>6: Command expr<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p><u>An old command-line tool for assessing integer arithmetic is the expr command. An<\/u> <u>illustration of an expr command is as follows:<\/u><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>expr 2 + 3<\/code><\/li>\n<\/ul>\n\n\n\n<p>Run the command to examine the results of the calculation after separating the numbers and the operation sign with spaces. If you wish to learn different things about SQL Database, Learn <a href=\"https:\/\/arzhost.com\/blogs\/how-to-drop-all-tables-in-a-sql-server-database-a-comprehensive-guide\/\"><strong>How to Drop All Tables in SQL<\/strong><\/a> and see if it helps or not.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"7_Element_Command\"><\/span><strong>7: Element Command<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>A command-line tool called factor prints the factors for any positive integer, and the output factors into prime numbers.<\/p>\n\n\n\n<p><u>Run the following command, for instance, to print the factors of 100.<\/u><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>percent 100<\/code><\/li>\n<\/ul>\n\n\n\n<p>The factored number is displayed in the output.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"8_Allow_Command\"><\/span><strong>8: Allow Command<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>The let command in Bash can carry out a number of arithmetic, bitwise, and logical operations. The native command only supports integers.<\/p>\n\n\n\n<p><u>The let command syntax is demonstrated by the following example:<\/u><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>x = 2 + 3 | echo $x<\/code><\/li>\n<\/ul>\n\n\n\n<p>Results are printed in the output.<\/p>\n\n\n\n<p><strong>Related Article: <a href=\"https:\/\/arzhost.com\/blogs\/how-to-restart-strapi-server-step-by-step-guide\/\">Restart Strapi Server | Step-by-Step Guide<\/a><\/strong><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"9_Command_Test\"><\/span><strong>9: Command Test<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p><u>In Linux, the test command analyses conditional expressions and is frequently used in tandem with the if statement in Bash. The test syntax has two different forms:<\/u><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>echo $; test 2 \u2014gt 3?<\/code><\/li>\n<\/ul>\n\n\n\n<p><u>As an alternative:<\/u><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>echo $; [2 -gt 3];<\/code><\/li>\n<\/ul>\n\n\n\n<p>The test command determines if two or<strong> (-gt)<\/strong> three is greater. The output is zero<strong> (0)<\/strong> if the expression is true and one <strong>(1)<\/strong> if it is false.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span><strong>Conclusion<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>You are proficient at using Bash Math Operations Explained scripting to do a variety of calculations.<\/p>\n\n\n\n<p>For Reliable and Scalable Web Hosting Services and Resources, make sure to visit us at our Website <a href=\"https:\/\/arzhost.com\/\"><strong>ARZ Host<\/strong><\/a>.<\/p>\n\n\n\n<p><strong>Read More:<\/strong><\/p>\n\n\n<ul class=\"wp-block-latest-posts__list wp-block-latest-posts\"><li><a class=\"wp-block-latest-posts__post-title\" href=\"https:\/\/arzhost.com\/blogs\/how-to-fix-403-forbidden-error-wordpress\/\">How To Fix 403 Forbidden Error WordPress<\/a><\/li>\n<li><a class=\"wp-block-latest-posts__post-title\" href=\"https:\/\/arzhost.com\/blogs\/how-to-get-the-most-out-of-claude-ai\/\">How To Get The Most Out Of Claude Ai<\/a><\/li>\n<li><a class=\"wp-block-latest-posts__post-title\" href=\"https:\/\/arzhost.com\/blogs\/bad-gateway-error-502-the-ultimate-guide-to-quick-fixes\/\">Bad Gateway Error (502): The Ultimate Guide to Quick Fixes<\/a><\/li>\n<li><a class=\"wp-block-latest-posts__post-title\" href=\"https:\/\/arzhost.com\/blogs\/a-deep-dive-into-todays-best-linux-distros\/\">A Deep Dive Into Today\u2019s Best Linux Distros<\/a><\/li>\n<li><a class=\"wp-block-latest-posts__post-title\" href=\"https:\/\/arzhost.com\/blogs\/domain-investor-terms-powerful-strategy\/\">Domain Investor Terms: Expert Insight on Powerful Strategy<\/a><\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Introduction: Bash Math Operations and How They Help in Scripting In Bash scripting, Bash Math Operations are Explained, and arithmetic operations are crucial. Basic arithmetic operations are necessary for many automation jobs, including converting the CPU temperature to Fahrenheit. Bash is a straightforward language to learn. This tutorial shows you several different ways to perform [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":6103,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[268,212,269,270],"table_tags":[],"class_list":["post-4911","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-bash","tag-guide","tag-math","tag-operations"],"_links":{"self":[{"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/posts\/4911","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/comments?post=4911"}],"version-history":[{"count":3,"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/posts\/4911\/revisions"}],"predecessor-version":[{"id":6104,"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/posts\/4911\/revisions\/6104"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/media\/6103"}],"wp:attachment":[{"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/media?parent=4911"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/categories?post=4911"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/tags?post=4911"},{"taxonomy":"table_tags","embeddable":true,"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/table_tags?post=4911"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}