{"id":12711,"date":"2024-11-14T08:04:43","date_gmt":"2024-11-14T08:04:43","guid":{"rendered":"https:\/\/greenwebpage.com\/community\/?p=12711"},"modified":"2024-11-14T08:04:45","modified_gmt":"2024-11-14T08:04:45","slug":"7-examples-of-ip-addr-command-in-linux","status":"publish","type":"post","link":"https:\/\/greenwebpage.com\/community\/7-examples-of-ip-addr-command-in-linux\/","title":{"rendered":"7 Examples of ip addr Command in Linux"},"content":{"rendered":"\n<p>The ip addr command is an essential tool for network management in Linux, offering a versatile set of features for configuring and troubleshooting network interfaces. As the successor to the now-deprecated ifconfig command, <strong>ip addr <\/strong>provides a more powerful and flexible way to handle network configurations on modern Linux systems. The ip addr command is a versatile tool in Linux, used for displaying and manipulating IP addresses associated with network interfaces.<\/p>\n\n\n\n<p>The ip addr command is a powerful tool for managing network interfaces and their associated IP addresses in Linux systems. It provides a comprehensive way to view, add, modify, and delete IP addresses, as well as other network configuration details.<\/p>\n\n\n\n<p>Here&#8217;s a professional guide to understanding and using the ip addr command in Linux with examples:<\/p>\n\n\n\n<p><strong>Table of Content<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"#Understanding-the-ip-addr-Command-in-Linux\">Understanding the ip addr Command in Linux<\/a><\/li>\n\n\n\n<li><a href=\"#post-12711-_ypc1e1z16k4z\">Examples of ip addr Command in Linux<\/a><\/li>\n\n\n\n<li><a href=\"#Conclusion\">Conclusion<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Understanding-the-ip-addr-Command-in-Linux\"><a id=\"post-12711-_10vori1skl9w\"><\/a>Understanding the ip addr Command in Linux<\/h2>\n\n\n\n<p>The <strong>ip addr<\/strong> command is a powerful ally for Linux users, providing a comprehensive set of features for network interface management. When executed without any additional parameters, ip addr displays all network interfaces on the system along with their associated IP addresses, network masks, and other relevant details.<\/p>\n\n\n\n<p>This command is part of the <a href=\"https:\/\/github.com\/iproute2\/iproute2\">iproute2 <\/a>package, which is installed on all modern Linux distributions. The ip addr command replaces older tools like ifconfig, offering more features and better control over network interfaces and IP addresses.<\/p>\n\n\n\n<p><strong>Basic Usage<\/strong>:<\/p>\n\n\n\n<p>To display information about all network interfaces and their IP addresses, simply run:<\/p>\n\n\n\n<pre>ip addr<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1239\" height=\"782\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/11\/word-image-12711-1.png\" alt=\"\" class=\"wp-image-12712\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/11\/word-image-12711-1.png 1239w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/11\/word-image-12711-1-300x189.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/11\/word-image-12711-1-1024x646.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/11\/word-image-12711-1-768x485.png 768w\" sizes=\"(max-width: 1239px) 100vw, 1239px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>This outputs a detailed list of interfaces, their states (up\/down), hardware addresses, and associated IP addresses (both IPv4 and IPv6).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Examples-of-ip-addr-Command-in-Linux\"><a id=\"post-12711-_ypc1e1z16k4z\"><\/a>Examples of ip addr Command in Linux<\/h2>\n\n\n\n<p>The ip addr command replaces the older ifconfig command. It provides a more flexible and comprehensive way to manage network interfaces. Use it to view, add, modify, and delete IP addresses.<\/p>\n\n\n\n<p>Let\u2019s find the available options to customize the output.<\/p>\n\n\n\n<p><strong>Example 1: Displaying IP Addresses<\/strong><\/p>\n\n\n\n<p>As Linux continues to evolve, the ip addr command remains a fundamental component for efficient network management. To display all IP addresses on all network interfaces, the command is given below:<\/p>\n\n\n\n<pre>ip addr show<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1231\" height=\"789\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/11\/word-image-12711-2.png\" alt=\"\" class=\"wp-image-12713\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/11\/word-image-12711-2.png 1231w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/11\/word-image-12711-2-300x192.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/11\/word-image-12711-2-1024x656.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/11\/word-image-12711-2-768x492.png 768w\" sizes=\"(max-width: 1231px) 100vw, 1231px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>This lists all the network interfaces on the system along with their IP addresses, both <strong>IPv4 <\/strong>and <strong>IPv6<\/strong>. This targeted approach helps in pinpointing issues related to a particular interface.<\/p>\n\n\n\n<p><strong>Example 2: Displaying Information About a Specific Interface<\/strong><\/p>\n\n\n\n<p>To display information about a specific network interface, you can use the <strong>ip addr show [interface] <\/strong>command. This provides detailed information about the chosen interface, such as its current state (up or down), MAC address, IP addresses, and more.<\/p>\n\n\n\n<p>To view details about a particular interface, such as <strong>enp0s3<\/strong>, use:<\/p>\n\n\n\n<pre>ip addr show eth0<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1251\" height=\"384\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/11\/word-image-12711-3.png\" alt=\"\" class=\"wp-image-12714\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/11\/word-image-12711-3.png 1251w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/11\/word-image-12711-3-300x92.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/11\/word-image-12711-3-1024x314.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/11\/word-image-12711-3-768x236.png 768w\" sizes=\"(max-width: 1251px) 100vw, 1251px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>Example 3: Adding an IP Address<\/strong><\/p>\n\n\n\n<p>One of the primary functions of <strong>ip addr<\/strong> is to manage IP addresses assigned to network interfaces. Users can add new IP addresses to an interface or remove existing ones without the need for a system reboot.<\/p>\n\n\n\n<p>To add an IP address to an interface, use the add option: To assign an IP address to a network interface, the syntax is:<\/p>\n\n\n\n<pre>sudo ip addr add [IP_ADDRESS]\/[PREFIX] dev [INTERFACE_NAME]<\/pre>\n\n\n\n<p>For example, to assign the IP address <strong>192.168.0.124<\/strong> with a subnet mask of 255.255.255.0 (which is equivalent to a prefix of \/24) to the interface <strong>enp0s3<\/strong>, the command would be:<\/p>\n\n\n\n<pre>sudo ip addr add 192.168.0.124\/24 dev enp0s3<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1241\" height=\"173\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/11\/word-image-12711-4.png\" alt=\"\" class=\"wp-image-12715\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/11\/word-image-12711-4.png 1241w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/11\/word-image-12711-4-300x42.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/11\/word-image-12711-4-1024x143.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/11\/word-image-12711-4-768x107.png 768w\" sizes=\"(max-width: 1241px) 100vw, 1241px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>It adds the IP address <strong>192.168.0.124<\/strong> to the <strong>enp0s3 <\/strong>interface along with a netmask of <strong>24<\/strong>.<\/p>\n\n\n\n<p><strong>Example 4: Deleting an IP Address<\/strong><\/p>\n\n\n\n<p>Its ability to make immediate changes without rebooting the system makes it an indispensable tool for network administrators. For removing the IP address from an interface, use:<\/p>\n\n\n\n<pre>sudo ip addr del [IP_ADDRESS]\/[PREFIX] dev [INTERFACE_NAME]<\/pre>\n\n\n\n<p>For instance, to remove the IP address <strong>192.168.0.124\/24 <\/strong>from <strong>enp0s3<\/strong>, the command is:<\/p>\n\n\n\n<pre>sudo ip addr del 192.168.0.124\/24 dev enp0s3<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1240\" height=\"112\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/11\/word-image-12711-5.png\" alt=\"\" class=\"wp-image-12716\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/11\/word-image-12711-5.png 1240w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/11\/word-image-12711-5-300x27.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/11\/word-image-12711-5-1024x92.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/11\/word-image-12711-5-768x69.png 768w\" sizes=\"(max-width: 1240px) 100vw, 1240px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>Note<\/strong>: While directly modifying an IP address is not recommended, you can effectively achieve this by deleting the old address and adding a new one.<\/p>\n\n\n\n<p><strong>Example 5: Displaying IP Addresses in a Simplified Format<\/strong><\/p>\n\n\n\n<p>The <strong>ip addr <\/strong>command is an essential part of a Linux user&#8217;s toolkit, enabling precise control over network interfaces and IP management tasks. If you need information about a specific network interface, you can specify the device name:<\/p>\n\n\n\n<pre>ip addr show dev [INTERFACE_NAME]<\/pre>\n\n\n\n<p>Replace <strong>[INTERFACE_NAME] <\/strong>with the actual name of your network interface, such as <strong>enp0s3<\/strong>.<\/p>\n\n\n\n<p>To get a concise overview of IP addresses:<\/p>\n\n\n\n<pre>ip addr show dev enp0s3 | grep inet<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1224\" height=\"202\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/11\/word-image-12711-6.png\" alt=\"\" class=\"wp-image-12717\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/11\/word-image-12711-6.png 1224w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/11\/word-image-12711-6-300x50.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/11\/word-image-12711-6-1024x169.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/11\/word-image-12711-6-768x127.png 768w\" sizes=\"(max-width: 1224px) 100vw, 1224px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>Example 6: Configuring Network Interfaces<\/strong><\/p>\n\n\n\n<p>In Linux, the <strong>ip addr <\/strong>command offers users to modify network interfaces. For instance, to bring an interface up or down, use the below commands:<\/p>\n\n\n\n<pre>sudo ip link set enp0s3 down<\/pre> \n<pre>sudo ip link set enp0s3 up<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1217\" height=\"170\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/11\/word-image-12711-7.png\" alt=\"\" class=\"wp-image-12718\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/11\/word-image-12711-7.png 1217w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/11\/word-image-12711-7-300x42.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/11\/word-image-12711-7-1024x143.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/11\/word-image-12711-7-768x107.png 768w\" sizes=\"(max-width: 1217px) 100vw, 1217px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>Example 7: Managing Routing Tables<\/strong><\/p>\n\n\n\n<p>The ip route subcommand is used to manage the kernel routing tables. For example, to add a default gateway, the command is:<\/p>\n\n\n\n<pre>sudo ip route add default via 192.168.0.1 dev enp0s3<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1241\" height=\"95\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/11\/word-image-12711-8.png\" alt=\"\" class=\"wp-image-12719\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/11\/word-image-12711-8.png 1241w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/11\/word-image-12711-8-300x23.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/11\/word-image-12711-8-1024x78.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/11\/word-image-12711-8-768x59.png 768w\" sizes=\"(max-width: 1241px) 100vw, 1241px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>And to delete a route:<\/p>\n\n\n\n<pre>sudo ip route add default via 192.168.0.1 dev enp0s3<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1223\" height=\"98\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/11\/word-image-12711-9.png\" alt=\"\" class=\"wp-image-12720\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/11\/word-image-12711-9.png 1223w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/11\/word-image-12711-9-300x24.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/11\/word-image-12711-9-1024x82.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/11\/word-image-12711-9-768x62.png 768w\" sizes=\"(max-width: 1223px) 100vw, 1223px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>Additional Options:<\/strong><\/p>\n\n\n\n<p>Beyond basic address management, ip addr also supports advanced features like setting the maximum transmission unit (MTU) and managing broadcast addresses. These capabilities allow for fine-tuning of network performance and behavior, catering to the needs of complex network environments.<\/p>\n\n\n\n<p>The ip addr command offers various options to fine-tune its output:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>o<\/strong>: Output in a more human-readable format.<\/li>\n\n\n\n<li><strong>4<\/strong>: Display only IPv4 addresses.<\/li>\n\n\n\n<li><strong>6<\/strong>: Display only IPv6 addresses.<\/li>\n\n\n\n<li><strong>j<\/strong>: Output in JSON format.<\/li>\n<\/ul>\n\n\n\n<p>By understanding the ip addr command and its options, you can efficiently manage network interfaces and their IP addresses on your Linux system.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Conclusion\"><a id=\"post-12711-_6ie9sh4arggt\"><\/a>Conclusion<\/h2>\n\n\n\n<p>The ip addr command is a powerful tool for network administrators and users who need to manage network interfaces and IP addresses on Linux systems. It provides a unified interface to handle various networking tasks efficiently. Remember, the configurations set with the ip command are not persistent across reboots. To make changes permanent, you need to edit the network configuration files specific to your Linux distribution or include the commands in a startup script.<\/p>\n\n\n\n<p>Whether you&#8217;re a seasoned system administrator or a curious Linux enthusiast, mastering the <strong>ip addr<\/strong> command can significantly enhance your ability to manage and troubleshoot network configurations on Linux systems.<\/p>\n\n\n\t\t\t\t\t\t\t<h3 style=\"margin-bottom:20px;display:block;width:100%;margin-top:10px\">Frequently Asked Questions <\/h3>\r\n\t\t\t\t\t\t<style>\r\n\t\t\t\t<style>\r\n#wpsm_accordion_12723 .wpsm_panel-heading{\r\n\tpadding:0px !important;\r\n}\r\n#wpsm_accordion_12723 .wpsm_panel-title {\r\n\tmargin:0px !important; \r\n\ttext-transform:none !important;\r\n\tline-height: 1 !important;\r\n}\r\n#wpsm_accordion_12723 .wpsm_panel-title a{\r\n\ttext-decoration:none;\r\n\toverflow:hidden;\r\n\tdisplay:block;\r\n\tpadding:0px;\r\n\tfont-size: 18px !important;\r\n\tfont-family: Open Sans !important;\r\n\tcolor:#000000 !important;\r\n\tborder-bottom:0px !important;\r\n}\r\n\r\n#wpsm_accordion_12723 .wpsm_panel-title a:focus {\r\noutline: 0px !important;\r\n}\r\n\r\n#wpsm_accordion_12723 .wpsm_panel-title a:hover, #wpsm_accordion_12723 .wpsm_panel-title a:focus {\r\n\tcolor:#000000 !important;\r\n}\r\n#wpsm_accordion_12723 .acc-a{\r\n\tcolor: #000000 !important;\r\n\tbackground-color:#e8e8e8 !important;\r\n\tborder-color: #ddd;\r\n}\r\n#wpsm_accordion_12723 .wpsm_panel-default > .wpsm_panel-heading{\r\n\tcolor: #000000 !important;\r\n\tbackground-color: #e8e8e8 !important;\r\n\tborder-color: #e8e8e8 !important;\r\n\tborder-top-left-radius: 0px;\r\n\tborder-top-right-radius: 0px;\r\n}\r\n#wpsm_accordion_12723 .wpsm_panel-default {\r\n\t\tborder:1px solid transparent !important;\r\n\t}\r\n#wpsm_accordion_12723 {\r\n\tmargin-bottom: 20px;\r\n\toverflow: hidden;\r\n\tfloat: none;\r\n\twidth: 100%;\r\n\tdisplay: block;\r\n}\r\n#wpsm_accordion_12723 .ac_title_class{\r\n\tdisplay: block;\r\n\tpadding-top: 12px;\r\n\tpadding-bottom: 12px;\r\n\tpadding-left: 15px;\r\n\tpadding-right: 15px;\r\n}\r\n#wpsm_accordion_12723  .wpsm_panel {\r\n\toverflow:hidden;\r\n\t-webkit-box-shadow: 0 0px 0px rgba(0, 0, 0, .05);\r\n\tbox-shadow: 0 0px 0px rgba(0, 0, 0, .05);\r\n\t\tborder-radius: 4px;\r\n\t}\r\n#wpsm_accordion_12723  .wpsm_panel + .wpsm_panel {\r\n\t\tmargin-top: 5px;\r\n\t}\r\n#wpsm_accordion_12723  .wpsm_panel-body{\r\n\tbackground-color:#ffffff !important;\r\n\tcolor:#000000 !important;\r\n\tborder-top-color: #e8e8e8 !important;\r\n\tfont-size:16px !important;\r\n\tfont-family: Open Sans !important;\r\n\toverflow: hidden;\r\n\t\tborder: 2px solid #e8e8e8 !important;\r\n\t}\r\n\r\n#wpsm_accordion_12723 .ac_open_cl_icon{\r\n\tbackground-color:#e8e8e8 !important;\r\n\tcolor: #000000 !important;\r\n\tfloat:right !important;\r\n\tpadding-top: 12px !important;\r\n\tpadding-bottom: 12px !important;\r\n\tline-height: 1.0 !important;\r\n\tpadding-left: 15px !important;\r\n\tpadding-right: 15px !important;\r\n\tdisplay: inline-block !important;\r\n}\r\n\r\n\t\t\t\r\n\t\t\t<\/style>\t\r\n\t\t\t<\/style>\r\n\t\t\t<div class=\"wpsm_panel-group\" id=\"wpsm_accordion_12723\" >\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t<!-- Inner panel Start -->\r\n\t\t\t\t\t<div class=\"wpsm_panel wpsm_panel-default\">\r\n\t\t\t\t\t\t<div class=\"wpsm_panel-heading\" role=\"tab\" >\r\n\t\t\t\t\t\t  <h4 class=\"wpsm_panel-title\">\r\n\t\t\t\t\t\t\t<a  class=\"\"  data-toggle=\"collapse\" data-parent=\"#wpsm_accordion_12723 \" href=\"javascript:void(0)\" data-target=\"#ac_12723_collapse1\" onclick=\"do_resize()\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"ac_open_cl_icon fa fa-plus\"><\/span>\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t \r\n\t\t\t\t\t\t\t\t<span class=\"ac_title_class\">\r\n\t\t\t\t\t\t\t\t\tWhat does the ip addr command do?\t\t\t\t\t\t\t\t<\/span>\r\n\t\t\t\t\t\t\t<\/a>\r\n\t\t\t\t\t\t  <\/h4>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<div id=\"ac_12723_collapse1\" class=\"wpsm_panel-collapse collapse \"  >\r\n\t\t\t\t\t\t  <div class=\"wpsm_panel-body\">\r\n\t\t\t\t\t\t\tThe ip addr command is part of the ip suite of tools for managing networking in Linux. It is used to display the current state of network interfaces and their IP addresses, as well as to configure or modify them.\r\nExample:\r\n\"ip addr\"\r\nThis will display the current IP addresses, network interfaces, and their configurations.\t\t\t\t\t\t  <\/div>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<!-- Inner panel End -->\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t<!-- Inner panel Start -->\r\n\t\t\t\t\t<div class=\"wpsm_panel wpsm_panel-default\">\r\n\t\t\t\t\t\t<div class=\"wpsm_panel-heading\" role=\"tab\" >\r\n\t\t\t\t\t\t  <h4 class=\"wpsm_panel-title\">\r\n\t\t\t\t\t\t\t<a  class=\"collapsed\"  data-toggle=\"collapse\" data-parent=\"#wpsm_accordion_12723 \" href=\"javascript:void(0)\" data-target=\"#ac_12723_collapse2\" onclick=\"do_resize()\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"ac_open_cl_icon fa fa-plus\"><\/span>\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t \r\n\t\t\t\t\t\t\t\t<span class=\"ac_title_class\">\r\n\t\t\t\t\t\t\t\t\tHow do I display the IP addresses of all interfaces?\t\t\t\t\t\t\t\t<\/span>\r\n\t\t\t\t\t\t\t<\/a>\r\n\t\t\t\t\t\t  <\/h4>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<div id=\"ac_12723_collapse2\" class=\"wpsm_panel-collapse collapse \"  >\r\n\t\t\t\t\t\t  <div class=\"wpsm_panel-body\">\r\n\t\t\t\t\t\t\tThe ip addr show command will display the details of all network interfaces on your system, including their IP addresses.\r\nExample:\r\n\"ip addr show\"\r\nThis will list the IP addresses of all active network interfaces.\t\t\t\t\t\t  <\/div>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<!-- Inner panel End -->\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t<!-- Inner panel Start -->\r\n\t\t\t\t\t<div class=\"wpsm_panel wpsm_panel-default\">\r\n\t\t\t\t\t\t<div class=\"wpsm_panel-heading\" role=\"tab\" >\r\n\t\t\t\t\t\t  <h4 class=\"wpsm_panel-title\">\r\n\t\t\t\t\t\t\t<a  class=\"collapsed\"  data-toggle=\"collapse\" data-parent=\"#wpsm_accordion_12723 \" href=\"javascript:void(0)\" data-target=\"#ac_12723_collapse3\" onclick=\"do_resize()\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"ac_open_cl_icon fa fa-plus\"><\/span>\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t \r\n\t\t\t\t\t\t\t\t<span class=\"ac_title_class\">\r\n\t\t\t\t\t\t\t\t\tHow do I display IP addresses for a specific network interface?\t\t\t\t\t\t\t\t<\/span>\r\n\t\t\t\t\t\t\t<\/a>\r\n\t\t\t\t\t\t  <\/h4>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<div id=\"ac_12723_collapse3\" class=\"wpsm_panel-collapse collapse \"  >\r\n\t\t\t\t\t\t  <div class=\"wpsm_panel-body\">\r\n\t\t\t\t\t\t\tTo display the IP addresses of a specific network interface, use the interface name as an argument to the ip addr show command.\r\nExample:\r\n\"ip addr show eth0\"\r\nThis will show the IP address and other details for the eth0 interface.\r\n\t\t\t\t\t\t  <\/div>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<!-- Inner panel End -->\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t<!-- Inner panel Start -->\r\n\t\t\t\t\t<div class=\"wpsm_panel wpsm_panel-default\">\r\n\t\t\t\t\t\t<div class=\"wpsm_panel-heading\" role=\"tab\" >\r\n\t\t\t\t\t\t  <h4 class=\"wpsm_panel-title\">\r\n\t\t\t\t\t\t\t<a  class=\"collapsed\"  data-toggle=\"collapse\" data-parent=\"#wpsm_accordion_12723 \" href=\"javascript:void(0)\" data-target=\"#ac_12723_collapse4\" onclick=\"do_resize()\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"ac_open_cl_icon fa fa-plus\"><\/span>\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t \r\n\t\t\t\t\t\t\t\t<span class=\"ac_title_class\">\r\n\t\t\t\t\t\t\t\t\tHow do I add an IP address to a network interface?\t\t\t\t\t\t\t\t<\/span>\r\n\t\t\t\t\t\t\t<\/a>\r\n\t\t\t\t\t\t  <\/h4>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<div id=\"ac_12723_collapse4\" class=\"wpsm_panel-collapse collapse \"  >\r\n\t\t\t\t\t\t  <div class=\"wpsm_panel-body\">\r\n\t\t\t\t\t\t\tTo add an IP address to a network interface, use the ip addr add command.\r\nExample:\r\n\"sudo ip addr add 192.168.1.100\/24 dev eth0\"\r\nThis command assigns the IP address 192.168.1.100 with a subnet mask of 255.255.255.0 (\/24) to the eth0 interface.\t\t\t\t\t\t  <\/div>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<!-- Inner panel End -->\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t<!-- Inner panel Start -->\r\n\t\t\t\t\t<div class=\"wpsm_panel wpsm_panel-default\">\r\n\t\t\t\t\t\t<div class=\"wpsm_panel-heading\" role=\"tab\" >\r\n\t\t\t\t\t\t  <h4 class=\"wpsm_panel-title\">\r\n\t\t\t\t\t\t\t<a  class=\"collapsed\"  data-toggle=\"collapse\" data-parent=\"#wpsm_accordion_12723 \" href=\"javascript:void(0)\" data-target=\"#ac_12723_collapse5\" onclick=\"do_resize()\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"ac_open_cl_icon fa fa-plus\"><\/span>\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t \r\n\t\t\t\t\t\t\t\t<span class=\"ac_title_class\">\r\n\t\t\t\t\t\t\t\t\tHow do I remove an IP address from a network interface?\t\t\t\t\t\t\t\t<\/span>\r\n\t\t\t\t\t\t\t<\/a>\r\n\t\t\t\t\t\t  <\/h4>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<div id=\"ac_12723_collapse5\" class=\"wpsm_panel-collapse collapse \"  >\r\n\t\t\t\t\t\t  <div class=\"wpsm_panel-body\">\r\n\t\t\t\t\t\t\tTo remove an IP address from a network interface, use the ip addr del command.\r\nExample:\r\n\"sudo ip addr del 192.168.1.100\/24 dev eth0\"\r\nThis command removes the IP address 192.168.1.100 from the eth0 interface.\t\t\t\t\t\t  <\/div>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<!-- Inner panel End -->\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\r\n<script type=\"text\/javascript\">\r\n\t\r\n\t\tfunction do_resize(){\r\n\r\n\t\t\tvar width=jQuery( '.wpsm_panel .wpsm_panel-body iframe' ).width();\r\n\t\t\tvar height=jQuery( '.wpsm_panel .wpsm_panel-body iframe' ).height();\r\n\r\n\t\t\tvar toggleSize = true;\r\n\t\t\tjQuery('iframe').animate({\r\n\t\t\t    width: toggleSize ? width : 640,\r\n\t\t\t    height: toggleSize ? height : 360\r\n\t\t\t  }, 250);\r\n\r\n\t\t\t  toggleSize = !toggleSize;\r\n\t\t}\r\n\t\t\r\n<\/script>\t\n\n\n\n<p><\/p>\n\n    <div class=\"xs_social_share_widget xs_share_url after_content \t\tmain_content  wslu-style-1 wslu-share-box-shaped wslu-fill-colored wslu-none wslu-share-horizontal wslu-theme-font-no wslu-main_content\">\n\n\t\t\n        <ul>\n\t\t\t        <\/ul>\n    <\/div> \n","protected":false},"excerpt":{"rendered":"<p>The ip addr command is an essential tool for network management in Linux, offering a versatile set of features for configuring and troubleshooting network interfaces. As the successor to the now-deprecated ifconfig command, ip addr provides a more powerful and flexible way to handle network configurations on modern Linux systems. The ip addr command is [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":12725,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[43],"tags":[500,499,498,501,230],"class_list":["post-12711","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-ifconfig","tag-ip","tag-ip-addr-command","tag-ip-route","tag-linux"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>7 Examples of ip addr Command in Linux - Greenwebpage Community<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/greenwebpage.com\/community\/7-examples-of-ip-addr-command-in-linux\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"7 Examples of ip addr Command in Linux - Greenwebpage Community\" \/>\n<meta property=\"og:description\" content=\"The ip addr command is an essential tool for network management in Linux, offering a versatile set of features for configuring and troubleshooting network interfaces. As the successor to the now-deprecated ifconfig command, ip addr provides a more powerful and flexible way to handle network configurations on modern Linux systems. The ip addr command is [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/greenwebpage.com\/community\/7-examples-of-ip-addr-command-in-linux\/\" \/>\n<meta property=\"og:site_name\" content=\"Greenwebpage Community\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-14T08:04:43+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-14T08:04:45+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/11\/ip-addr-Command-in-Linux.jpeg\" \/>\n\t<meta property=\"og:image:width\" content=\"1020\" \/>\n\t<meta property=\"og:image:height\" content=\"600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Karim Buzdar\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Karim Buzdar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/greenwebpage.com\/community\/7-examples-of-ip-addr-command-in-linux\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/7-examples-of-ip-addr-command-in-linux\/\"},\"author\":{\"name\":\"Karim Buzdar\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8\"},\"headline\":\"7 Examples of ip addr Command in Linux\",\"datePublished\":\"2024-11-14T08:04:43+00:00\",\"dateModified\":\"2024-11-14T08:04:45+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/7-examples-of-ip-addr-command-in-linux\/\"},\"wordCount\":965,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#organization\"},\"image\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/7-examples-of-ip-addr-command-in-linux\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/11\/ip-addr-Command-in-Linux.jpeg\",\"keywords\":[\"ifconfig\",\"ip\",\"ip addr command\",\"ip route\",\"Linux\"],\"articleSection\":[\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/greenwebpage.com\/community\/7-examples-of-ip-addr-command-in-linux\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/greenwebpage.com\/community\/7-examples-of-ip-addr-command-in-linux\/\",\"url\":\"https:\/\/greenwebpage.com\/community\/7-examples-of-ip-addr-command-in-linux\/\",\"name\":\"7 Examples of ip addr Command in Linux - Greenwebpage Community\",\"isPartOf\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/7-examples-of-ip-addr-command-in-linux\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/7-examples-of-ip-addr-command-in-linux\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/11\/ip-addr-Command-in-Linux.jpeg\",\"datePublished\":\"2024-11-14T08:04:43+00:00\",\"dateModified\":\"2024-11-14T08:04:45+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/7-examples-of-ip-addr-command-in-linux\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/greenwebpage.com\/community\/7-examples-of-ip-addr-command-in-linux\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/greenwebpage.com\/community\/7-examples-of-ip-addr-command-in-linux\/#primaryimage\",\"url\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/11\/ip-addr-Command-in-Linux.jpeg\",\"contentUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/11\/ip-addr-Command-in-Linux.jpeg\",\"width\":1020,\"height\":600,\"caption\":\"ip addr Command in Linux\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/greenwebpage.com\/community\/7-examples-of-ip-addr-command-in-linux\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/greenwebpage.com\/community\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"7 Examples of ip addr Command in Linux\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#website\",\"url\":\"https:\/\/greenwebpage.com\/community\/\",\"name\":\"Greenwebpage Community\",\"description\":\"Get online in three steps with our wide range of web hosting solutions. Choose from professional business to enterprise options designed to meet your needs.\",\"publisher\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/greenwebpage.com\/community\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#organization\",\"name\":\"Greenwebpage Community\",\"url\":\"https:\/\/greenwebpage.com\/community\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/cropped-logomic.png\",\"contentUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/cropped-logomic.png\",\"width\":512,\"height\":512,\"caption\":\"Greenwebpage Community\"},\"image\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8\",\"name\":\"Karim Buzdar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0628fcbcddd9bc5486245d2cf4a904dbcdeac9ad6c3098f49237094e9d513d0c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/0628fcbcddd9bc5486245d2cf4a904dbcdeac9ad6c3098f49237094e9d513d0c?s=96&d=mm&r=g\",\"caption\":\"Karim Buzdar\"},\"sameAs\":[\"https:\/\/greenwebpage.com\"],\"url\":\"https:\/\/greenwebpage.com\/community\/author\/karim\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"7 Examples of ip addr Command in Linux - Greenwebpage Community","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:\/\/greenwebpage.com\/community\/7-examples-of-ip-addr-command-in-linux\/","og_locale":"en_US","og_type":"article","og_title":"7 Examples of ip addr Command in Linux - Greenwebpage Community","og_description":"The ip addr command is an essential tool for network management in Linux, offering a versatile set of features for configuring and troubleshooting network interfaces. As the successor to the now-deprecated ifconfig command, ip addr provides a more powerful and flexible way to handle network configurations on modern Linux systems. The ip addr command is [&hellip;]","og_url":"https:\/\/greenwebpage.com\/community\/7-examples-of-ip-addr-command-in-linux\/","og_site_name":"Greenwebpage Community","article_published_time":"2024-11-14T08:04:43+00:00","article_modified_time":"2024-11-14T08:04:45+00:00","og_image":[{"width":1020,"height":600,"url":"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/11\/ip-addr-Command-in-Linux.jpeg","type":"image\/jpeg"}],"author":"Karim Buzdar","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Karim Buzdar","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/greenwebpage.com\/community\/7-examples-of-ip-addr-command-in-linux\/#article","isPartOf":{"@id":"https:\/\/greenwebpage.com\/community\/7-examples-of-ip-addr-command-in-linux\/"},"author":{"name":"Karim Buzdar","@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8"},"headline":"7 Examples of ip addr Command in Linux","datePublished":"2024-11-14T08:04:43+00:00","dateModified":"2024-11-14T08:04:45+00:00","mainEntityOfPage":{"@id":"https:\/\/greenwebpage.com\/community\/7-examples-of-ip-addr-command-in-linux\/"},"wordCount":965,"commentCount":0,"publisher":{"@id":"https:\/\/greenwebpage.com\/community\/#organization"},"image":{"@id":"https:\/\/greenwebpage.com\/community\/7-examples-of-ip-addr-command-in-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/11\/ip-addr-Command-in-Linux.jpeg","keywords":["ifconfig","ip","ip addr command","ip route","Linux"],"articleSection":["Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/greenwebpage.com\/community\/7-examples-of-ip-addr-command-in-linux\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/greenwebpage.com\/community\/7-examples-of-ip-addr-command-in-linux\/","url":"https:\/\/greenwebpage.com\/community\/7-examples-of-ip-addr-command-in-linux\/","name":"7 Examples of ip addr Command in Linux - Greenwebpage Community","isPartOf":{"@id":"https:\/\/greenwebpage.com\/community\/#website"},"primaryImageOfPage":{"@id":"https:\/\/greenwebpage.com\/community\/7-examples-of-ip-addr-command-in-linux\/#primaryimage"},"image":{"@id":"https:\/\/greenwebpage.com\/community\/7-examples-of-ip-addr-command-in-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/11\/ip-addr-Command-in-Linux.jpeg","datePublished":"2024-11-14T08:04:43+00:00","dateModified":"2024-11-14T08:04:45+00:00","breadcrumb":{"@id":"https:\/\/greenwebpage.com\/community\/7-examples-of-ip-addr-command-in-linux\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/greenwebpage.com\/community\/7-examples-of-ip-addr-command-in-linux\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/greenwebpage.com\/community\/7-examples-of-ip-addr-command-in-linux\/#primaryimage","url":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/11\/ip-addr-Command-in-Linux.jpeg","contentUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/11\/ip-addr-Command-in-Linux.jpeg","width":1020,"height":600,"caption":"ip addr Command in Linux"},{"@type":"BreadcrumbList","@id":"https:\/\/greenwebpage.com\/community\/7-examples-of-ip-addr-command-in-linux\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/greenwebpage.com\/community\/"},{"@type":"ListItem","position":2,"name":"7 Examples of ip addr Command in Linux"}]},{"@type":"WebSite","@id":"https:\/\/greenwebpage.com\/community\/#website","url":"https:\/\/greenwebpage.com\/community\/","name":"Greenwebpage Community","description":"Get online in three steps with our wide range of web hosting solutions. Choose from professional business to enterprise options designed to meet your needs.","publisher":{"@id":"https:\/\/greenwebpage.com\/community\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/greenwebpage.com\/community\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/greenwebpage.com\/community\/#organization","name":"Greenwebpage Community","url":"https:\/\/greenwebpage.com\/community\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/logo\/image\/","url":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/cropped-logomic.png","contentUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/cropped-logomic.png","width":512,"height":512,"caption":"Greenwebpage Community"},"image":{"@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8","name":"Karim Buzdar","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/0628fcbcddd9bc5486245d2cf4a904dbcdeac9ad6c3098f49237094e9d513d0c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0628fcbcddd9bc5486245d2cf4a904dbcdeac9ad6c3098f49237094e9d513d0c?s=96&d=mm&r=g","caption":"Karim Buzdar"},"sameAs":["https:\/\/greenwebpage.com"],"url":"https:\/\/greenwebpage.com\/community\/author\/karim\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts\/12711","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/comments?post=12711"}],"version-history":[{"count":4,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts\/12711\/revisions"}],"predecessor-version":[{"id":12726,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts\/12711\/revisions\/12726"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/media\/12725"}],"wp:attachment":[{"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/media?parent=12711"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/categories?post=12711"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/tags?post=12711"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}