{"id":1684,"date":"2021-12-16T13:20:55","date_gmt":"2021-12-16T10:20:55","guid":{"rendered":"https:\/\/files2.tojikon.net\/files-cloud\/2021\/03\/12\/ubuntu-ping-computers-on-the-network-guide-2\/https:\/\/files2.tojikon.net\/files-cloud\/2021\/03\/12\/ubuntu-ping-computers-on-the-network-guide-2\/"},"modified":"2021-12-16T13:20:55","modified_gmt":"2021-12-16T10:20:55","slug":"ubuntu-ping-computers-on-the-network-guide","status":"publish","type":"post","link":"https:\/\/tojikon.net\/en\/1684-ubuntu-ping-computers-on-the-network-guide\/","title":{"rendered":"Ubuntu: ping computers on the network [Guide]"},"content":{"rendered":"<section id=\"related_posts\">\n<div class=\"block-head\">\n<h3>Related Articles<\/h3>\n<\/div>\n<\/section>\n<p>Do you need to ping a computer on your local network from your Ubuntu PC? Can\u2019t figure out how to do a ping on Ubuntu? We can help! Follow along as we show you how to ping computers on the local network in Ubuntu!<\/p>\n<p>Note: While this guide focuses on Ubuntu, the directions should work for 99% of all Linux operating systems.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-397236 size-full\" src=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/ubuntu-ping-computers-on-the-network-guide.png\" alt=\"Ubuntu ping computer\" width=\"1200\" height=\"554\" srcset=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/ubuntu-ping-computers-on-the-network-guide.png 1200w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/ubuntu-ping-computers-on-the-network-guide-3.png 300w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/ubuntu-ping-computers-on-the-network-guide-5.png 1024w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/ubuntu-ping-computers-on-the-network-guide-8.png 768w\" sizes=\"(max-width: 1200px) 100vw, 1200px\"\/><\/p>\n<h2>Ping computers on the network \u2013 Ping command\u00a0<\/h2>\n<p>The Ping command comes with every Linux operating system, mainstream or lesser-known. By far, it is the best way any user can ping computers on their local area network. It can also be used to reach computers outside the LAN too.<\/p>\n<p>You won\u2019t need to install the Ping command on your Linux PC to use it. To start the ping process, you will need to open up a terminal window. To open up a terminal window on the Linux desktop, press the\u00a0<strong>Ctrl + Alt + T<\/strong> command on the keyboard. Or, type in \u201cterminal\u201d in the app menu.<\/p>\n<p>Once the terminal window is open and ready to use, make use of the\u00a0<strong>ping \u2013help\u00a0<\/strong>command and take a look at the individual operations that the\u00a0<strong>ping\u00a0<\/strong>command can execute.<\/p>\n<pre>\nping --help\n<\/pre>\n<p>To save the help output to a text file to read later, you can execute the ping \u2013help command with &gt; and point to a text file.\u00a0<\/p>\n<pre>\nping --help &gt; ping-help-page.txt\n<\/pre>\n<h3>Using Ping<\/h3>\n<p>The <strong>ping<\/strong> command is very basic. You type out the <strong>ping\u00a0<\/strong>command in the terminal, followed by the URL or IP address you\u2019re looking to ping. We are focusing on devices on the LAN in this guide, so hostnames or local IPs will work fine.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-397236 size-full\" src=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/ubuntu-ping-computers-on-the-network-guide.png\" alt=\"\" width=\"1200\" height=\"554\" srcset=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/ubuntu-ping-computers-on-the-network-guide.png 1200w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/ubuntu-ping-computers-on-the-network-guide-3.png 300w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/ubuntu-ping-computers-on-the-network-guide-5.png 1024w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/ubuntu-ping-computers-on-the-network-guide-8.png 768w\" sizes=\"(max-width: 1200px) 100vw, 1200px\"\/><\/p>\n<p>For example, to ping a Linux PC on your network with the hostname \u201clinux-laptop\u201d, you\u2019d execute the following\u00a0<strong>ping\u00a0<\/strong>command.<\/p>\n<pre>\nping linux-laptop\n<\/pre>\n<p>On the other hand, if you do not know the hostname but know the local IP, you can ping the device with this command:<\/p>\n<pre>\nping local_ip_address\n<\/pre>\n<p>Want to ping a device but only want to do it a certain number of times, rather than a continuous ping? That\u2019s where the <strong>-c\u00a0<\/strong>command switch comes in. For example, to ping the \u201clinux-laptop\u201d device on the LAN precisely three times, execute the following.<\/p>\n<pre>\nping -c3 linux-laptop <\/pre>\n<p>Need to save your ping output to a text file to read for later? Make use of the command below.<\/p>\n<pre>\nping linux-laptop &gt; ping-output.txt\n<\/pre>\n<h2>Ping computers on the network \u2013 Zenmap<\/h2>\n<p>If you need to ping a computer on your local network, but don\u2019t want to use the Linux command-line, you can use Zenmap. It\u2019s the GUI frontend to Nmap. It has advanced ping functionality, and with it, you\u2019ll be able to ping any device on your network, and more!<\/p>\n<p>To start, Zenmap must be installed on your Linux PC. In 2021, Zenmap is a bit difficult to get working on many Linux distributions, due to the fact that it is based on Python 2, and many Linux operating systems are retiring Python 2.<\/p>\n<p>That said, there is a Zenmap Flatpak package on the Flathub app store, and it appears to work on all Linux operating systems that support the Flatpak runtime. To install the Flatpak version of Zenmap on your Linux PC, start by launching a terminal window.<\/p>\n<p>Once the terminal window is open, you will need to install the Flatpak runtime. To install the Flatpak runtime on your Linux PC, follow this guide on the subject. It covers exactly how to set it up on all Linux systems.\u00a0<\/p>\n<p>After setting up the Flatpak runtime, execute the two commands below to get Zenmap working on your computer.\u00a0<\/p>\n<pre>\nflatpak remote-add --if-not-exists flathub https:\/\/flathub.org\/repo\/flathub.flatpakrepo\nflatpak install flathub org.nmap.Zenmap\n<\/pre>\n<p>With Zenmap installed on your Linux PC, open it up by searching for it in the app menu. When the app is open, follow the step-by-step instructions below to learn how to ping computers on your LAN with it.<\/p>\n<p><strong>Step 1:<\/strong> Find the \u201cTarget\u201d box in Zenmap, and click on it with the mouse. Then, type out the hostname (AKA PC name) or local IP address.\u00a0<\/p>\n<p><strong>Step 2:<\/strong> After filling out the target box, find the \u201cProfile\u201d menu. By default, this menu is set to \u201cIntense scan.\u201d We do not need an intense scan to do a simple ping. So, change it to \u201cPing scan.\u201d<\/p>\n<p><strong>Step 3:<\/strong> Find the \u201cScan\u201d button in the top-right section of the app, and click on it to initiate a ping scan. The ping scan will not take long.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-397245 size-full\" src=\"https:\/\/www.addictivetips.com\/app\/uploads\/2021\/03\/zenmap-ping-fs8.png\" alt=\"\" width=\"1200\" height=\"522\" srcset=\"https:\/\/www.addictivetips.com\/app\/uploads\/2021\/03\/zenmap-ping-fs8.png 1200w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/ubuntu-ping-computers-on-the-network-guide-10.png 300w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/ubuntu-ping-computers-on-the-network-guide-11.png 1024w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/ubuntu-ping-computers-on-the-network-guide-13.png 768w\" sizes=\"(max-width: 1200px) 100vw, 1200px\"\/><\/p>\n<p>When the ping scan is complete, Zenmap will show you a complete rundown in the \u201cNmap output\u201d tab. Read through it to find information about the device you\u2019ve pinged with the app.<\/p>\n<p>For more information about the output, click on the \u201cdetails\u201d button. It\u2019ll show you a bit of information about your ping.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Related Articles Do you need to ping a computer on your local network from your Ubuntu PC? Can\u2019t figure out how to do a ping on Ubuntu? We can help! Follow along as we show you how to ping computers on the local network in Ubuntu! Note: While this guide focuses on Ubuntu, the directions &hellip;<\/p>\n","protected":false},"author":1,"featured_media":1685,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[21],"tags":[33],"_links":{"self":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/posts\/1684"}],"collection":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/comments?post=1684"}],"version-history":[{"count":0,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/posts\/1684\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/media\/1685"}],"wp:attachment":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/media?parent=1684"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/categories?post=1684"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/tags?post=1684"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}