{"id":6618,"date":"2024-01-02T10:41:49","date_gmt":"2024-01-02T17:41:49","guid":{"rendered":"https:\/\/ioflood.com\/blog\/?p=6618"},"modified":"2024-01-02T10:43:51","modified_gmt":"2024-01-02T17:43:51","slug":"install-hostname-command-linux","status":"publish","type":"post","link":"https:\/\/ioflood.com\/blog\/install-hostname-command-linux\/","title":{"rendered":"Linux &#8216;hostname&#8217; Command: Installation and Usage Guide"},"content":{"rendered":"<div class=\"wp-block-image\">\n<figure class=\"alignright size-full is-resized\"><img decoding=\"async\" src=\"https:\/\/ioflood.com\/blog\/wp-content\/uploads\/2024\/01\/Illustration-of-a-Linux-terminal-displaying-the-installation-of-the-hostname-command-used-for-setting-or-displaying-the-systems-hostname-300x300.jpg\" alt=\"Illustration of a Linux terminal displaying the installation of the hostname command used for setting or displaying the systems hostname\" width=\"300\" height=\"300\" title=\"\"><\/figure>\n<\/div>\n<p>Are you grappling with managing your system&#8217;s hostname in Linux? For many Linux users, especially the beginners, this might seem a daunting task. However, the &#8216;hostname&#8217; command, which serves as your system&#8217;s name tag, is an essential tool worth learning to install and use. It&#8217;s readily available on most package management systems, making the installation process straightforward once you know the steps.<\/p>\n<p><strong>In this guide, we will navigate you through the process of installing and using the &#8216;hostname&#8217; command in Linux.<\/strong> We will provide you with installation instructions for both APT (Debian and Ubuntu) and YUM-based distributions (CentOS and AlmaLinux), delve into compiling &#8216;hostname&#8217; from source, and installing a specific version. Finally, we will guide you on how to use the &#8216;hostname&#8217; command and verify that the correct version is installed.<\/p>\n<p>So, let&#8217;s dive in and start installing the &#8216;hostname&#8217; command on your Linux system!<\/p>\n<h2>TL;DR: How Do I Install and Use the &#8216;hostname&#8217; Command in Linux?<\/h2>\n<blockquote><p>\n  In most Linux distributions, the &#8216;hostname&#8217; command comes pre-installed. To verify installation you can use the command, <code>hostname<\/code>. If for some reason it is not installed to your system, you can add it with, <code>sudo [apt-get\/yum] install hostname<\/code>. To change your system&#8217;s hostname, you can use <code>sudo hostname new_hostname<\/code>.\n<\/p><\/blockquote>\n<p>Here&#8217;s an example<\/p>\n<pre><code class=\"language-bash line-numbers\"># To display the current hostname\nhostname\n\n# Output:\n# YourCurrentHostName\n\n# To change the hostname\nsudo hostname NewHostName\n\n# Output:\n# No output. The hostname is changed silently.\n<\/code><\/pre>\n<p>This is a basic way to install and use the &#8216;hostname&#8217; command in Linux, but there&#8217;s much more to learn about managing your system&#8217;s hostname. Continue reading for more detailed information and advanced usage scenarios.<\/p>\n<h2>Understanding and Installing the &#8216;hostname&#8217; Command<\/h2>\n<p>The &#8216;hostname&#8217; command in Linux is a straightforward yet powerful tool that allows you to display or set the system&#8217;s host name. It&#8217;s an integral part of system identification, particularly in network environments. It&#8217;s useful for system administrators who need to manage multiple machines, and it&#8217;s also handy for users who want to customize their system&#8217;s identity.<\/p>\n<h3>Installing &#8216;hostname&#8217; with APT<\/h3>\n<p>On Debian-based distributions like Ubuntu, you can use the Advanced Package Tool (APT) to install the &#8216;hostname&#8217; command. Here&#8217;s how you can do it:<\/p>\n<pre><code class=\"language-bash line-numbers\">sudo apt-get update\nsudo apt-get install hostname\n\n# Output:\n# Reading package lists... Done\n# Building dependency tree\n# Reading state information... Done\n# hostname is already the newest version (3.21).\n# 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.\n<\/code><\/pre>\n<p>In this example, the system is updating the package list first with <code>sudo apt-get update<\/code>. Then, it&#8217;s trying to install the &#8216;hostname&#8217; command with <code>sudo apt-get install hostname<\/code>. The output informs us that &#8216;hostname&#8217; is already the newest version, which means it was pre-installed.<\/p>\n<h3>Installing &#8216;hostname&#8217; with YUM<\/h3>\n<p>For CentOS and other RHEL-based distributions, the &#8216;hostname&#8217; command can be installed using the Yellowdog Updater, Modified (YUM). Here&#8217;s the command to do it:<\/p>\n<pre><code class=\"language-bash line-numbers\">sudo yum install hostname\n\n# Output:\n# Loaded plugins: fastestmirror, ovl\n# Loading mirror speeds from cached hostfile\n# Package hostname-3.13-3.el7.x86_64 already installed and latest version\n# Nothing to do\n<\/code><\/pre>\n<p>In this example, the system is attempting to install the &#8216;hostname&#8217; command with <code>sudo yum install hostname<\/code>. The output tells us that the &#8216;hostname&#8217; package is already installed and is the latest version.<\/p>\n<h3>Installing &#8216;hostname&#8217; with DNF<\/h3>\n<p>In Fedora, and other distributions that have migrated from YUM to DNF, you can install &#8216;hostname&#8217; with the following command:<\/p>\n<pre><code class=\"language-bash line-numbers\">sudo dnf install hostname\n\n# Output:\n# Last metadata expiration check: 0:20:04 ago on Mon 05 Jul 2021 07:23:45 AM EDT.\n# Package hostname-3.20-6.fc32.x86_64 is already installed.\n# Dependencies resolved.\n# Nothing to do.\n# Complete!\n<\/code><\/pre>\n<p>In this example, the system is attempting to install the &#8216;hostname&#8217; command with <code>sudo dnf install hostname<\/code>. The output informs us that the &#8216;hostname&#8217; package is already installed.<\/p>\n<p>Now that we have installed the &#8216;hostname&#8217; command, in the next section, we will learn about its basic usage and how to change the system&#8217;s hostname.<\/p>\n<h2>Installing &#8216;hostname&#8217; Command from Source Code<\/h2>\n<p>If you want to install the &#8216;hostname&#8217; command from the source code, you can download it from the official GNU core utilities source repository. This method can be useful when you need a specific version that&#8217;s not available in your distribution&#8217;s package repositories.<\/p>\n<pre><code class=\"language-bash line-numbers\">wget http:\/\/ftp.gnu.org\/gnu\/coreutils\/coreutils-8.32.tar.xz\n\n# Output:\n# -2021-07-05 12:00:00--  http:\/\/ftp.gnu.org\/gnu\/coreutils\/coreutils-8.32.tar.xz\n# Resolving ftp.gnu.org (ftp.gnu.org)... 209.51.188.20, 2001:470:142:3::b\n# Connecting to ftp.gnu.org (ftp.gnu.org)|209.51.188.20|:80... connected.\n# HTTP request sent, awaiting response... 200 OK\n# Length: 5308416 (5.1M) [application\/x-tar]\n# Saving to: \u2018coreutils-8.32.tar.xz\u2019\n<\/code><\/pre>\n<p>After downloading the tarball, you can extract it and compile the source code.<\/p>\n<h2>Installing Different Versions of &#8216;hostname&#8217;<\/h2>\n<h3>From Source Code<\/h3>\n<p>If you want to install a specific version of &#8216;hostname&#8217;, you can download the corresponding version of the coreutils package from the GNU core utilities source repository. After downloading and extracting the tarball, you can compile and install it.<\/p>\n<h3>Using Package Managers<\/h3>\n<h4>APT<\/h4>\n<p>On Debian-based distributions, you can install a specific version of a package using the <code>apt-get install package=version<\/code> syntax. However, the &#8216;hostname&#8217; command is part of the &#8216;inetutils&#8217; package, and it&#8217;s not versioned separately.<\/p>\n<h4>YUM<\/h4>\n<p>On CentOS and other RHEL-based distributions, you can use the <code>yum downgrade package<\/code> or <code>yum upgrade package<\/code> commands to change the installed version of a package. However, like APT, YUM doesn&#8217;t version the &#8216;hostname&#8217; command separately from the &#8216;inetutils&#8217; package.<\/p>\n<h3>Version Comparison<\/h3>\n<p>Different versions of the &#8216;hostname&#8217; command may have different features or compatibility. For instance, newer versions may support more command-line flags or options, while older versions may be more compatible with certain scripts or applications.<\/p>\n<table>\n<thead>\n<tr>\n<th>Version<\/th>\n<th>Features<\/th>\n<th>Compatibility<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Older<\/td>\n<td>Fewer flags\/options<\/td>\n<td>Higher<\/td>\n<\/tr>\n<tr>\n<td>Newer<\/td>\n<td>More flags\/options<\/td>\n<td>Lower<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>Basic Usage and Verification<\/h2>\n<h3>Using the Command<\/h3>\n<p>The &#8216;hostname&#8217; command can be used to display or set the system&#8217;s hostname. Here&#8217;s an example of using it to display the current hostname:<\/p>\n<pre><code class=\"language-bash line-numbers\">hostname\n\n# Output:\n# YourCurrentHostName\n<\/code><\/pre>\n<p>And here&#8217;s an example of using it to set a new hostname:<\/p>\n<pre><code class=\"language-bash line-numbers\">sudo hostname NewHostName\n\n# Output:\n# No output. The hostname is changed silently.\n<\/code><\/pre>\n<h3>Verifying Installation<\/h3>\n<p>You can verify that the &#8216;hostname&#8217; command is installed and working correctly by simply running it with no arguments. If it&#8217;s installed correctly, it should display your system&#8217;s current hostname.<\/p>\n<pre><code class=\"language-bash line-numbers\">hostname\n\n# Output:\n# YourCurrentHostName\n<\/code><\/pre>\n<p>In this example, running <code>hostname<\/code> displays the current hostname, confirming that the command is installed and working correctly.<\/p>\n<h2>Managing Hostnames: Alternative Methods<\/h2>\n<p>While the &#8216;hostname&#8217; command is a powerful tool for managing your system&#8217;s hostname, Linux offers alternative methods that can provide more flexibility or control. This section will introduce two of these alternatives: the &#8216;\/etc\/hostname&#8217; file and the &#8216;hostnamectl&#8217; command.<\/p>\n<h3>The &#8216;\/etc\/hostname&#8217; File<\/h3>\n<p>The &#8216;\/etc\/hostname&#8217; file is a simple text file that contains the system&#8217;s hostname. It&#8217;s read at boot time by the system initialization scripts to set the hostname.<\/p>\n<p>To view the current hostname using the &#8216;\/etc\/hostname&#8217; file, you can use the &#8216;cat&#8217; command:<\/p>\n<pre><code class=\"language-bash line-numbers\">cat \/etc\/hostname\n\n# Output:\n# YourCurrentHostName\n<\/code><\/pre>\n<p>To change the hostname, you can use a text editor to modify the &#8216;\/etc\/hostname&#8217; file. Here&#8217;s an example using the &#8216;nano&#8217; editor:<\/p>\n<pre><code class=\"language-bash line-numbers\">sudo nano \/etc\/hostname\n\n# Change the hostname in the editor, then save and exit.\n<\/code><\/pre>\n<p>After changing the &#8216;\/etc\/hostname&#8217; file, you need to run the &#8216;hostname&#8217; command to update the system&#8217;s current hostname:<\/p>\n<pre><code class=\"language-bash line-numbers\">sudo hostname -F \/etc\/hostname\n<\/code><\/pre>\n<p>The advantage of this method is that it allows you to manage the hostname directly at the system level. However, it requires manual editing and doesn&#8217;t provide command-line options like the &#8216;hostname&#8217; command.<\/p>\n<h3>The &#8216;hostnamectl&#8217; Command<\/h3>\n<p>The &#8216;hostnamectl&#8217; command is part of the systemd system and service manager, which is used in many modern Linux distributions. It provides a command-line interface for managing the hostname.<\/p>\n<p>To display the current hostname using &#8216;hostnamectl&#8217;, you can use the following command:<\/p>\n<pre><code class=\"language-bash line-numbers\">hostnamectl\n\n# Output:\n#   Static hostname: YourCurrentHostName\n#         Icon name: computer-vm\n#           Chassis: vm\n#        Machine ID: d3b4a7a884994c598dbfba5cbb768a58\n#           Boot ID: 6e1f2d76495d4b318c25c4a6da1a9957\n#    Virtualization: kvm\n#  Operating System: Ubuntu 20.04.2 LTS\n#            Kernel: Linux 5.4.0-65-generic\n#      Architecture: x86-64\n<\/code><\/pre>\n<p>To change the hostname using &#8216;hostnamectl&#8217;, you can use the &#8216;set-hostname&#8217; option:<\/p>\n<pre><code class=\"language-bash line-numbers\">sudo hostnamectl set-hostname NewHostName\n<\/code><\/pre>\n<p>The advantage of &#8216;hostnamectl&#8217; is that it provides a more modern and flexible interface for managing the hostname. It supports additional features like setting the static, transient, and pretty hostnames. However, it&#8217;s not available on older or non-systemd distributions.<\/p>\n<h2>Choosing the Right Method<\/h2>\n<p>The best method for managing the hostname depends on your specific needs and environment. If you need a simple and universal solution, the &#8216;hostname&#8217; command is a good choice. If you prefer to manage the hostname at the system level, the &#8216;\/etc\/hostname&#8217; file might be more suitable. If you&#8217;re using a systemd-based distribution and need more flexibility or features, &#8216;hostnamectl&#8217; could be the best option.<\/p>\n<h2>Troubleshooting Common &#8216;hostname&#8217; Command Issues<\/h2>\n<p>Despite its simplicity, users may encounter issues while using the &#8216;hostname&#8217; command. This section will discuss some common problems and their solutions, providing code examples and tips to help you navigate these challenges.<\/p>\n<h3>Issue 1: Command Not Found<\/h3>\n<p>If you receive a &#8216;command not found&#8217; error when trying to use the &#8216;hostname&#8217; command, it could mean that the command is not installed or its path is not included in the PATH environment variable.<\/p>\n<pre><code class=\"language-bash line-numbers\">hostname\n\n# Output:\n# Command 'hostname' not found, but can be installed with...\n<\/code><\/pre>\n<p>To resolve this issue, you can install the &#8216;hostname&#8217; command using your distribution&#8217;s package manager, as discussed earlier in this guide. If the command is already installed, you can add its path to the PATH environment variable.<\/p>\n<h3>Issue 2: Permission Denied<\/h3>\n<p>If you try to change the hostname without sufficient privileges, you may encounter a &#8216;permission denied&#8217; error.<\/p>\n<pre><code class=\"language-bash line-numbers\">hostname NewHostName\n\n# Output:\n# bash: \/bin\/hostname: Permission denied\n<\/code><\/pre>\n<p>To resolve this issue, you can use the &#8216;sudo&#8217; command to run the &#8216;hostname&#8217; command with root privileges.<\/p>\n<pre><code class=\"language-bash line-numbers\">sudo hostname NewHostName\n<\/code><\/pre>\n<h3>Issue 3: Hostname Not Persisting After Reboot<\/h3>\n<p>If you change the hostname using the &#8216;hostname&#8217; command, the new hostname may not persist after a reboot. This is because the &#8216;hostname&#8217; command changes the system&#8217;s current hostname, but it doesn&#8217;t update the &#8216;\/etc\/hostname&#8217; file, which is used to set the hostname at boot time.<\/p>\n<p>To resolve this issue, you can manually edit the &#8216;\/etc\/hostname&#8217; file, or you can use the &#8216;hostnamectl&#8217; command, which updates both the current hostname and the &#8216;\/etc\/hostname&#8217; file.<\/p>\n<pre><code class=\"language-bash line-numbers\">sudo hostnamectl set-hostname NewHostName\n<\/code><\/pre>\n<p>By understanding these common issues and their solutions, you can use the &#8216;hostname&#8217; command more effectively and troubleshoot any problems that may arise.<\/p>\n<h2>Understanding the Importance of System Identification<\/h2>\n<p>In the world of Linux, system identification plays a crucial role in managing and navigating network environments. The &#8216;hostname&#8217; command is a fundamental tool for system identification. It allows users to display or change the system&#8217;s hostname, which serves as the system&#8217;s identity within a network.<\/p>\n<h3>Role of Hostnames in Linux<\/h3>\n<p>A hostname is essentially the name that a system uses to identify itself on a network. It&#8217;s how other systems on the network know who they are communicating with. Hostnames are essential for many network services and protocols, including DNS, mail services, web services, and more.<\/p>\n<pre><code class=\"language-bash line-numbers\">hostname\n\n# Output:\n# YourCurrentHostName\n<\/code><\/pre>\n<p>In the above example, the &#8216;hostname&#8217; command is used to display the current system&#8217;s hostname. This name is used by other systems on the network to identify this system.<\/p>\n<h3>Hostnames and System Management<\/h3>\n<p>Hostnames also play a significant role in system management. For system administrators who manage multiple machines, hostnames provide a way to easily distinguish between different systems. They can also be used to indicate the role or purpose of a system, such as &#8216;webserver&#8217;, &#8216;database&#8217;, &#8216;backup&#8217;, etc.<\/p>\n<pre><code class=\"language-bash line-numbers\">sudo hostname database\n\n# Output:\n# No output. The hostname is changed silently.\n<\/code><\/pre>\n<p>In the above example, the &#8216;hostname&#8217; command is used to change the system&#8217;s hostname to &#8216;database&#8217;. This indicates that the system is being used as a database server.<\/p>\n<p>Understanding the role of hostnames in Linux and the importance of the &#8216;hostname&#8217; command is key to effective system and network management. It allows you to easily identify and manage your systems, making your work more efficient and organized.<\/p>\n<h2>Exploring the Depths of Hostname Management<\/h2>\n<p>Hostname management is a fundamental aspect of system administration and network communication. It provides an identity to your system in a network, making it easier for other devices to communicate with it. The &#8216;hostname&#8217; command is an essential tool for managing your system&#8217;s hostname, but understanding its relevance in Linux goes beyond just installing and using this command.<\/p>\n<h3>The Interplay of Hostname and DNS<\/h3>\n<p>The Domain Name System (DNS) is a critical part of internet infrastructure. It translates human-friendly domain names into IP addresses that computers can understand. Your system&#8217;s hostname plays a vital role in this process. It&#8217;s the first part of the fully qualified domain name (FQDN) that DNS uses to map to an IP address.<\/p>\n<pre><code class=\"language-bash line-numbers\"># Display the FQDN\nhostname --fqdn\n\n# Output:\n# YourCurrentHostName.yourdomain.com\n<\/code><\/pre>\n<p>In the above example, <code>hostname --fqdn<\/code> is used to display the system&#8217;s fully qualified domain name (FQDN). The hostname &#8216;YourCurrentHostName&#8217; is the first part of the FQDN.<\/p>\n<h3>Hostname and IP Addressing<\/h3>\n<p>IP addressing is another fundamental concept in networking. Each device on a network has an IP address that uniquely identifies it. Your system&#8217;s hostname is often used as a human-friendly alias for its IP address.<\/p>\n<pre><code class=\"language-bash line-numbers\"># Display the IP address associated with the hostname\nhostname -I\n\n# Output:\n# 192.168.1.100\n<\/code><\/pre>\n<p>In the above example, <code>hostname -I<\/code> is used to display the IP address associated with the system&#8217;s hostname. This IP address is how other devices on the network communicate with this system.<\/p>\n<h3>Further Resources for Mastering &#8216;hostname&#8217; in Linux<\/h3>\n<p>To deepen your understanding of hostname management in Linux, you may find the following resources helpful:<\/p>\n<ol>\n<li><a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/www.gnu.org\/software\/coreutils\/manual\/coreutils.html\" target=\"_blank\" rel=\"noopener\">GNU Coreutils: Official Documentation<\/a> &#8211; The official documentation for GNU core utilities, including the &#8216;hostname&#8217; command.<\/p>\n<\/li>\n<li>\n<p><a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/www.tldp.org\/\" target=\"_blank\" rel=\"noopener\">The Linux Documentation Project<\/a> &#8211; A comprehensive source of Linux documentation that covers a wide range of topics, including system and network administration.<\/p>\n<\/li>\n<li>\n<p><a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/www.redhat.com\/sysadmin\/sysadmin-essentials-networking-basics\" target=\"_blank\" rel=\"noopener\">Linux Networking Basics<\/a> &#8211; A tutorial on Linux networking that provides a good introduction to concepts like hostnames, DNS, and IP addressing.<\/p>\n<\/li>\n<\/ol>\n<h2>Wrapping Up: Mastering the &#8216;hostname&#8217; Command in Linux<\/h2>\n<p>In this comprehensive guide, we&#8217;ve delved into the world of the &#8216;hostname&#8217; command in Linux, a fundamental tool for system identification and management.<\/p>\n<p>We started with the basics, learning how to install and use the &#8216;hostname&#8217; command in various Linux distributions. We then moved onto more advanced usage, exploring how to install the &#8216;hostname&#8217; command from source code and how to manage different versions of &#8216;hostname&#8217;.<\/p>\n<p>Along the way, we tackled common issues you might face when using the &#8216;hostname&#8217; command, such as &#8216;command not found&#8217;, &#8216;permission denied&#8217;, and hostname not persisting after a reboot, providing you with solutions for each issue. We also explored alternative approaches to hostname management, comparing the &#8216;\/etc\/hostname&#8217; file and the &#8216;hostnamectl&#8217; command with the &#8216;hostname&#8217; command.<\/p>\n<table>\n<thead>\n<tr>\n<th>Method<\/th>\n<th>Flexibility<\/th>\n<th>Ease of Use<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>&#8216;hostname&#8217; Command<\/td>\n<td>Moderate<\/td>\n<td>High<\/td>\n<\/tr>\n<tr>\n<td>&#8216;\/etc\/hostname&#8217; File<\/td>\n<td>High<\/td>\n<td>Moderate<\/td>\n<\/tr>\n<tr>\n<td>&#8216;hostnamectl&#8217; Command<\/td>\n<td>High<\/td>\n<td>High<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Whether you&#8217;re just starting out with the &#8216;hostname&#8217; command or you&#8217;re looking to deepen your system administration skills, we hope this guide has given you a thorough understanding of how to install and use the &#8216;hostname&#8217; command in Linux, as well as its importance in system identification and management.<\/p>\n<p>With its balance of simplicity and power, the &#8216;hostname&#8217; command is a crucial tool for any Linux user or system administrator. Happy coding!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Are you grappling with managing your system&#8217;s hostname in Linux? For many Linux users, especially the beginners, this might seem a daunting task. However, the &#8216;hostname&#8217; command, which serves as your system&#8217;s name tag, is an essential tool worth learning to install and use. It&#8217;s readily available on most package management systems, making the installation [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":14892,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[124,3,9],"tags":[],"class_list":["post-6618","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-bash","category-linux","category-sysadmin","cat-124-id","cat-3-id","cat-9-id","has_thumb"],"_links":{"self":[{"href":"https:\/\/ioflood.com\/blog\/wp-json\/wp\/v2\/posts\/6618","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ioflood.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ioflood.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ioflood.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ioflood.com\/blog\/wp-json\/wp\/v2\/comments?post=6618"}],"version-history":[{"count":5,"href":"https:\/\/ioflood.com\/blog\/wp-json\/wp\/v2\/posts\/6618\/revisions"}],"predecessor-version":[{"id":14930,"href":"https:\/\/ioflood.com\/blog\/wp-json\/wp\/v2\/posts\/6618\/revisions\/14930"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ioflood.com\/blog\/wp-json\/wp\/v2\/media\/14892"}],"wp:attachment":[{"href":"https:\/\/ioflood.com\/blog\/wp-json\/wp\/v2\/media?parent=6618"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ioflood.com\/blog\/wp-json\/wp\/v2\/categories?post=6618"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ioflood.com\/blog\/wp-json\/wp\/v2\/tags?post=6618"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}