{"id":11030,"date":"2024-02-25T17:34:06","date_gmt":"2024-02-25T17:34:06","guid":{"rendered":"https:\/\/greenwebpage.com\/community\/?p=11030"},"modified":"2024-03-14T09:42:47","modified_gmt":"2024-03-14T09:42:47","slug":"how-to-use-ping-command-in-linux","status":"publish","type":"post","link":"https:\/\/greenwebpage.com\/community\/how-to-use-ping-command-in-linux\/","title":{"rendered":"How to Use Ping Command in Linux"},"content":{"rendered":"<p>In <a href=\"https:\/\/docs.kernel.org\/\">Linux<\/a>, Ping is a useful command for testing, diagnosing, and troubleshooting network connectivity. It sends requests to a specified destination and receives responses for each packet.<\/p>\n<p>You can use the Ping command for various purposes, including network testing, DNS testing, diagnosing packet loss, load testing, and more.<\/p>\n<p>If you are curious about the usage of the Ping command, especially on Linux-based systems, this guide is for you.<\/p>\n<h2><strong>How to Use Ping Command in Linux?<\/strong><\/h2>\n<p>Before initiating to explore the primary uses of Ping commands in Linux, use the following commands to perform examples.<\/p>\n<p><strong>Step 1: Update and Upgrade Linux System Files<\/strong><\/p>\n<p>The presented command will update the package lists and upgrade the packages if the newest versions are available:<\/p>\n<table>\n<thead>\n<tr>\n<th>\n<pre>sudo apt update &amp;&amp; sudo apt upgrade -y<\/pre>\n<\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<pre><img fetchpriority=\"high\" decoding=\"async\" width=\"959\" height=\"411\" class=\"wp-image-11031\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/02\/word-image-11030-1.png\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/02\/word-image-11030-1.png 959w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/02\/word-image-11030-1-300x129.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/02\/word-image-11030-1-768x329.png 768w\" sizes=\"(max-width: 959px) 100vw, 959px\" \/><\/pre>\n<p>If your system needs the latest updates, they can be displayed on your terminal screen.<\/p>\n<p><strong>Step 2: View IP Addresses<\/strong><\/p>\n<p>Here is the simple command to display the IP addresses on your Linux-based operating systems:<\/p>\n<table>\n<thead>\n<tr>\n<th>\n<pre>ip address<\/pre>\n<\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<pre><img decoding=\"async\" width=\"974\" height=\"388\" class=\"wp-image-11032\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/02\/word-image-11030-2.png\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/02\/word-image-11030-2.png 974w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/02\/word-image-11030-2-300x120.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/02\/word-image-11030-2-768x306.png 768w\" sizes=\"(max-width: 974px) 100vw, 974px\" \/><\/pre>\n<h3><strong>Uses of Ping Commands in Linux Systems<\/strong><\/h3>\n<p>These examples will help you understand the primary uses of Ping commands in Linux systems.<\/p>\n<p><strong>Example 1: Check Ping Version<\/strong><\/p>\n<p>First, check the Ping version on your Ubuntu system through the command:<\/p>\n<table>\n<thead>\n<tr>\n<th>\n<pre>Ping -V<\/pre>\n<\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<pre><img decoding=\"async\" width=\"708\" height=\"72\" class=\"wp-image-11033\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/02\/word-image-11030-3.png\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/02\/word-image-11030-3.png 708w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/02\/word-image-11030-3-300x31.png 300w\" sizes=\"(max-width: 708px) 100vw, 708px\" \/><\/pre>\n<p><strong>Example 2: Test Network Connectivity<\/strong><\/p>\n<p>You can use Ping for testing the network connectivity on a specific IP address, such as:<\/p>\n<table>\n<thead>\n<tr>\n<th>\n<pre>ping 10.0.2.15<\/pre>\n<\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<pre><img loading=\"lazy\" decoding=\"async\" width=\"968\" height=\"363\" class=\"wp-image-11034\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/02\/word-image-11030-4.png\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/02\/word-image-11030-4.png 968w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/02\/word-image-11030-4-300x113.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/02\/word-image-11030-4-768x288.png 768w\" sizes=\"(max-width: 968px) 100vw, 968px\" \/><\/pre>\n<p>To terminate or stop the current ping process, press <strong>Ctrl + C<\/strong> from the keyboard.<\/p>\n<p><strong>Example 3: View Connectivity with Count<\/strong><\/p>\n<p>The -c option is denoted by count and you can specify the limit of ping requests. Follow the provided syntax from your terminal:<\/p>\n<table>\n<thead>\n<tr>\n<th>\n<pre>ping -c 3 10.0.2.15<\/pre>\n<\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<pre><img loading=\"lazy\" decoding=\"async\" width=\"956\" height=\"244\" class=\"wp-image-11035\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/02\/word-image-11030-5.png\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/02\/word-image-11030-5.png 956w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/02\/word-image-11030-5-300x77.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/02\/word-image-11030-5-768x196.png 768w\" sizes=\"(max-width: 956px) 100vw, 956px\" \/><\/pre>\n<p>You can see the ping terminated after three packets and the sending and receiving requests.<\/p>\n<p><strong>Example 4: Display Connectivity with Domain Name<\/strong><\/p>\n<p>For a specific domain name like \u201cgoogle.com\u201d, the provided command will be used:<\/p>\n<table>\n<thead>\n<tr>\n<th>\n<pre>ping -c 5 google.com<\/pre>\n<\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<pre><img loading=\"lazy\" decoding=\"async\" width=\"972\" height=\"412\" class=\"wp-image-11036\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/02\/word-image-11030-6.png\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/02\/word-image-11030-6.png 972w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/02\/word-image-11030-6-300x127.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/02\/word-image-11030-6-768x326.png 768w\" sizes=\"(max-width: 972px) 100vw, 972px\" \/><\/pre>\n<p>The command provides the ping requests with essential information, including time, packet transmission, and packet loss.<\/p>\n<p><strong>Example 5: Set Interval Between Ping Requests<\/strong><\/p>\n<p>If you want to check the network connectivity to the IP address (i.e. 10.0.2.15) with a specific interval (i.e. 5 seconds) between each ping request, use the command provided below:<\/p>\n<table>\n<thead>\n<tr>\n<th>\n<pre>ping -i 5 10.0.2.15<\/pre>\n<\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<pre><img loading=\"lazy\" decoding=\"async\" width=\"964\" height=\"340\" class=\"wp-image-11037\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/02\/word-image-11030-7.png\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/02\/word-image-11030-7.png 964w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/02\/word-image-11030-7-300x106.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/02\/word-image-11030-7-768x271.png 768w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/02\/word-image-11030-7-960x340.png 960w\" sizes=\"(max-width: 964px) 100vw, 964px\" \/><\/pre>\n<p><strong>Example 6: Set a Timeout for Ping Requests<\/strong><\/p>\n<p>The following command will limit the time for the ping request and will wait for a response within 10 seconds from the IP address, such as 10.0.2.15:<\/p>\n<table>\n<thead>\n<tr>\n<th>\n<pre>ping -t 10 10.0.2.15<\/pre>\n<\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<pre><img loading=\"lazy\" decoding=\"async\" width=\"946\" height=\"531\" class=\"wp-image-11038\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/02\/word-image-11030-8.png\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/02\/word-image-11030-8.png 946w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/02\/word-image-11030-8-300x168.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/02\/word-image-11030-8-768x431.png 768w\" sizes=\"(max-width: 946px) 100vw, 946px\" \/><\/pre>\n<p><strong>Example 8: Attempts to Resolve Hostname<\/strong><\/p>\n<p>Utilize the ping command with the -a option for resolving the hostname linked to the IP address, for example, 10.0.2.15:<\/p>\n<table>\n<thead>\n<tr>\n<th>\n<pre>ping -a 10.0.2.15<\/pre>\n<\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<pre><img loading=\"lazy\" decoding=\"async\" width=\"953\" height=\"412\" class=\"wp-image-11039\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/02\/word-image-11030-9.png\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/02\/word-image-11030-9.png 953w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/02\/word-image-11030-9-300x130.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/02\/word-image-11030-9-768x332.png 768w\" sizes=\"(max-width: 953px) 100vw, 953px\" \/><\/pre>\n<p>This command is useful for network troubleshooting on your network based on the IP address.<\/p>\n<p><strong>Example 9: Record Route<\/strong><\/p>\n<p>To record the route using the IP address (10.0.2.15), use the -R option in the following manner:<\/p>\n<table>\n<thead>\n<tr>\n<th>\n<pre>ping -R 10.0.2.15<\/pre>\n<\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<pre><img loading=\"lazy\" decoding=\"async\" width=\"963\" height=\"534\" class=\"wp-image-11040\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/02\/word-image-11030-10.png\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/02\/word-image-11030-10.png 963w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/02\/word-image-11030-10-300x166.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/02\/word-image-11030-10-768x426.png 768w\" sizes=\"(max-width: 963px) 100vw, 963px\" \/><\/pre>\n<p>This command is used for inspecting network connectivity issues. Additionally, it determines the path from the source to the destination (10.0.2.15).<\/p>\n<p><strong>Example 10: Print Timestamps in UNIX<\/strong><\/p>\n<p>To inspect network connectivity using a specific IP based on timestamps, use the -D option with the ping command:<\/p>\n<table>\n<thead>\n<tr>\n<th>\n<pre>ping -D -c 5 10.0.2.15<\/pre>\n<\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<pre><img loading=\"lazy\" decoding=\"async\" width=\"966\" height=\"292\" class=\"wp-image-11041\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/02\/word-image-11030-11.png\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/02\/word-image-11030-11.png 966w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/02\/word-image-11030-11-300x91.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/02\/word-image-11030-11-768x232.png 768w\" sizes=\"(max-width: 966px) 100vw, 966px\" \/><\/pre>\n<p>This command will show the timestamps in UNIX format. You can analyze the ping statistics and troubleshoot according to your needs.<\/p>\n<h2><strong>Conclusion<\/strong><\/h2>\n<p>Utilize the syntax: <strong>ping [options] destination<\/strong> to troubleshoot and analyze network connectivity on our Linux system. You can use options like <strong>-c<\/strong>,<strong> -i<\/strong>,<strong> -t<\/strong>, and <strong>-D<\/strong> with Ping commands according to your requirements. In this guide, we have demonstrated the main usage of Ping commands using different examples.<\/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>In Linux, Ping is a useful command for testing, diagnosing, and troubleshooting network connectivity. It sends requests to a specified destination and receives responses for each packet. You can use the Ping command for various purposes, including network testing, DNS testing, diagnosing packet loss, load testing, and more. If you are curious about the usage [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":11042,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[43],"tags":[230,288,287],"class_list":["post-11030","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-linux","tag-network-connectivity","tag-ping"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Use Ping Command in Linux - Greenwebpage Community<\/title>\n<meta name=\"description\" content=\"If you are curious about the usage of the Ping command, especially on Linux-based systems, this guide is for you.\" \/>\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\/how-to-use-ping-command-in-linux\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Use Ping Command in Linux - Greenwebpage Community\" \/>\n<meta property=\"og:description\" content=\"If you are curious about the usage of the Ping command, especially on Linux-based systems, this guide is for you.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/greenwebpage.com\/community\/how-to-use-ping-command-in-linux\/\" \/>\n<meta property=\"og:site_name\" content=\"Greenwebpage Community\" \/>\n<meta property=\"article:published_time\" content=\"2024-02-25T17:34:06+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-14T09:42:47+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/02\/How-to-Use-Ping-Command-in-Linux.jpg\" \/>\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=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-use-ping-command-in-linux\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-use-ping-command-in-linux\/\"},\"author\":{\"name\":\"Karim Buzdar\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8\"},\"headline\":\"How to Use Ping Command in Linux\",\"datePublished\":\"2024-02-25T17:34:06+00:00\",\"dateModified\":\"2024-03-14T09:42:47+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-use-ping-command-in-linux\/\"},\"wordCount\":551,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#organization\"},\"image\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-use-ping-command-in-linux\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/02\/How-to-Use-Ping-Command-in-Linux.jpg\",\"keywords\":[\"Linux\",\"Network Connectivity\",\"Ping\"],\"articleSection\":[\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/greenwebpage.com\/community\/how-to-use-ping-command-in-linux\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-use-ping-command-in-linux\/\",\"url\":\"https:\/\/greenwebpage.com\/community\/how-to-use-ping-command-in-linux\/\",\"name\":\"How to Use Ping Command in Linux - Greenwebpage Community\",\"isPartOf\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-use-ping-command-in-linux\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-use-ping-command-in-linux\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/02\/How-to-Use-Ping-Command-in-Linux.jpg\",\"datePublished\":\"2024-02-25T17:34:06+00:00\",\"dateModified\":\"2024-03-14T09:42:47+00:00\",\"description\":\"If you are curious about the usage of the Ping command, especially on Linux-based systems, this guide is for you.\",\"breadcrumb\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-use-ping-command-in-linux\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/greenwebpage.com\/community\/how-to-use-ping-command-in-linux\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-use-ping-command-in-linux\/#primaryimage\",\"url\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/02\/How-to-Use-Ping-Command-in-Linux.jpg\",\"contentUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/02\/How-to-Use-Ping-Command-in-Linux.jpg\",\"width\":1020,\"height\":600,\"caption\":\"How to Use Ping Command in Linux\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-use-ping-command-in-linux\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/greenwebpage.com\/community\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Use Ping 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":"How to Use Ping Command in Linux - Greenwebpage Community","description":"If you are curious about the usage of the Ping command, especially on Linux-based systems, this guide is for you.","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\/how-to-use-ping-command-in-linux\/","og_locale":"en_US","og_type":"article","og_title":"How to Use Ping Command in Linux - Greenwebpage Community","og_description":"If you are curious about the usage of the Ping command, especially on Linux-based systems, this guide is for you.","og_url":"https:\/\/greenwebpage.com\/community\/how-to-use-ping-command-in-linux\/","og_site_name":"Greenwebpage Community","article_published_time":"2024-02-25T17:34:06+00:00","article_modified_time":"2024-03-14T09:42:47+00:00","og_image":[{"width":1020,"height":600,"url":"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/02\/How-to-Use-Ping-Command-in-Linux.jpg","type":"image\/jpeg"}],"author":"Karim Buzdar","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Karim Buzdar","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/greenwebpage.com\/community\/how-to-use-ping-command-in-linux\/#article","isPartOf":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-use-ping-command-in-linux\/"},"author":{"name":"Karim Buzdar","@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8"},"headline":"How to Use Ping Command in Linux","datePublished":"2024-02-25T17:34:06+00:00","dateModified":"2024-03-14T09:42:47+00:00","mainEntityOfPage":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-use-ping-command-in-linux\/"},"wordCount":551,"commentCount":0,"publisher":{"@id":"https:\/\/greenwebpage.com\/community\/#organization"},"image":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-use-ping-command-in-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/02\/How-to-Use-Ping-Command-in-Linux.jpg","keywords":["Linux","Network Connectivity","Ping"],"articleSection":["Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/greenwebpage.com\/community\/how-to-use-ping-command-in-linux\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/greenwebpage.com\/community\/how-to-use-ping-command-in-linux\/","url":"https:\/\/greenwebpage.com\/community\/how-to-use-ping-command-in-linux\/","name":"How to Use Ping Command in Linux - Greenwebpage Community","isPartOf":{"@id":"https:\/\/greenwebpage.com\/community\/#website"},"primaryImageOfPage":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-use-ping-command-in-linux\/#primaryimage"},"image":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-use-ping-command-in-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/02\/How-to-Use-Ping-Command-in-Linux.jpg","datePublished":"2024-02-25T17:34:06+00:00","dateModified":"2024-03-14T09:42:47+00:00","description":"If you are curious about the usage of the Ping command, especially on Linux-based systems, this guide is for you.","breadcrumb":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-use-ping-command-in-linux\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/greenwebpage.com\/community\/how-to-use-ping-command-in-linux\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/greenwebpage.com\/community\/how-to-use-ping-command-in-linux\/#primaryimage","url":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/02\/How-to-Use-Ping-Command-in-Linux.jpg","contentUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/02\/How-to-Use-Ping-Command-in-Linux.jpg","width":1020,"height":600,"caption":"How to Use Ping Command in Linux"},{"@type":"BreadcrumbList","@id":"https:\/\/greenwebpage.com\/community\/how-to-use-ping-command-in-linux\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/greenwebpage.com\/community\/"},{"@type":"ListItem","position":2,"name":"How to Use Ping 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\/11030","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=11030"}],"version-history":[{"count":1,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts\/11030\/revisions"}],"predecessor-version":[{"id":11043,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts\/11030\/revisions\/11043"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/media\/11042"}],"wp:attachment":[{"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/media?parent=11030"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/categories?post=11030"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/tags?post=11030"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}