Ping Command Linux Based on the ping output, you can decide to set certain warning and critical threshold level, based on which Nagios can send notifications to you. We can only ping one system at a time. Argument may be a numeric IP address or the name of the device. We are trying to reduce that 11seconds to minimum delay. In windows, if I use: ping google. # add ip / hostname separated by white space HOSTS=”cyberciti. We so far received multiple request to implement a Java tutorial on Linux Ping command and here it is. ping Linux Command - ping ใช้ในการตรวจสอบสถานะ server ปลายทาง คำสั่ง ping $ ping. lock log file = /var/log/rsyncd. Continuous ping in Windows, Linux, and MacOS. The ping command Craig Hunt Many people use the ping command to test connectivity on a TCP/IP network, without knowing all that it can tell them. So, why do we need it? When you reboot a serve or PC remotely, you can never be sure when it was booted again or when it is online again, Most people use the ping command with the -t parameter to check if a server is online again. There is an infinite ping running and it is piping the output of that ping command to a file called someFile. All Kali Linux Commands. For most Linux distros, bash (bourne again shell) is the default command-line interface or shell used to execute these commands. mysql statements and clauses. It also helps with troubleshooting various connectivity issues. fdisk - Partition table manipulator for Linux. 27-7-generic kernel box. The objective has a weight of 4. After you run this command it will seem like nothing is happening and your cursor will just blink continuously. Linux ping command summary with examples (3:39). The ping command appeared in 4. 8 is a destination IP. During network integration, network operation and troubleshooting activities, we use Ping. The ping command has a number of other switches that you'll use rarely, if ever. to ping the web server at the Hong Kong University of Science and Technology. In both FreeBSD and Linux, Ping is in Section 8 of the manpages. Ping Example 1. - mc0e Sep 3 '15 at 12:46. It offers many inbuilt commands to diagnose for network issues. To start you have to know how the file system is structured so you can navigate it properly. Finally notice that the script logs the start time when it was first run and then outputs this both to the command console and to the log file along with the time that the script finished. It might not be interpreted as you expect. If you are thinking ping is such a simple command and why do I need 15 examples, you should read the rest of the article. The man command - the manual command - is used to show the manual of the inputted command. But how to configure this script if ping is (okay) it should shoot a mail that all are okay. Click the Terminal application. find - Search for files that meet a desired criteria. However, this tutorial will revolve around the Windows version of the command. So add -c option which automatically terminate ping after N number of packets. Ping normally runs continuously until you stop it with CTRL-C, but the command also allows you to specify how many pings you want to send with the -c option. The ping command Craig Hunt Many people use the ping command to test connectivity on a TCP/IP network, without knowing all that it can tell them. Note to stop ping (otherwise it goes forever) use CTRL-C (break). Nifty! Unfortunately, modern Windows boxen don't respond to broadcast pings. com, question and answer web site) List of DOS commands. One of the key drivers for the Console overhaul was the need to enable the Console to render the output of Linux command-line tools. You can also send more than 100 packets per second using ping command. com/bugfarm Follow TE. AVAILABILITY. We strongly recommend using our Linux VPN command-line tool which makes it easy to connect on Linux machines. For something similar in Linux, use the mtr command. Ping means a packet was sent from your machine via ICMP, and. Ping is a computer network administration software utility used to test the reachability of a host on an Internet Protocol (IP) network. The program tests your internet connection speed and ping using speedtest. To ping the node (network computer) which has an IPv6 address i. ping will indicate whether a remote server is accessible and responding. com, giving an audible beep when the peer is reachable: $ ping -a example. Below is a command line that can be save as a batch file and set via task scheduler to automatically run at a specified time or day. Use ping in Linux to test network connectivity, count number of routers in a path and measure round-trip time in an internet. The command line is one of the most powerful features of Linux. exe) calculates how long it takes to transfer a packet of information from origin [you] to destination [a web site] and back again [to you]. If you don't interrupt it, it'll just keep going. Operating Systems can be detected using Ping Command, Ping is a computer network administration software utility, which used to find the Availability of a host on an Internet Protocol (IP) network. $ ifconfig -a. If you are new to Kali Linux world, check out the list of all available Kali Linux commands for both newbies and advance users to ease up with Terminal. 64 bytes from kerberos. If you ping to multiple hosts, the PING utility will wait for one host's timeout or reply, and try to communicate with the another. For example you can send 4 ping request to cyberciti. For example, to ping wikiHow's main web server, type ping www. The ping command has a number of other switches that you'll use rarely, if ever. 1、ip ip [OPTIONS] OBJECT COMMAND ipIt is a powerful network configuration tool in iproute2 software package. To use the ping command you go to the command line. check_ping command is a Nagios plugin that is used to check the ping output of a remote server. In this lesson, we will explore the capabilities of Ping command on Ubuntu 18. Question: When I execute ping command from the command line, it keeps sending the packets until I hit CTRL-C to terminate the ping command output. The syntax of the ping_group directive is simple: ping_group group-name ip-address Each IP address listed in a ping_group directive is considered to be related, and connectivity to any one node is considered to be connectivity to the group. 2-Minute Linux Tip: Learn how to use the ping command Network World | Apr 9, 2018 In today's 2-minute tip, we're going to look at the ping command - a favorite tool for some very easy. The links on the Unix commands go to an online version of the FreeBSD manual page. We discuss the command and shell module at length in this lesson. It looks through standard program locations until it finds the requested command. These activities will show you how to use the ping command to perform a ping sweep. This is a Linux terminal command, which is used to check network connectivity. A DNS tutorial on how to use dynamic DNS for home Web servers, configure a Linux DNS server for your LAN and Internet servers, and have your own domain name with no servers. It’s a handy tool that you can use to quickly test various points of your network. -does what you would expect. But from what I can tell, the default ping utility in Linux doesn't allow setting the DF (don't fragment) bit. A command-line interface (CLI) is a means of interacting with a computer program where the user (or client) issues commands to the program in the form of successive lines of text (command lines). Ping is a command utility to check the the connectivity of devices. Combine there two results to create a message 'mesg' which will be dispatched to 'email_id' using mail command and displayed on the terminal screen. In the command prompt type ping domain. Use the ping command tests the connection to your Red Hat Enterprise Virtualization Manager. tar – This command is used to create or extract tar. txt") containing the hostname or ip address of the servers that you want to check. When you are troubleshooting networking issues in Linux or are looking for ways to improve the security of your Linux machine, you will need to know if and which ports are open. The output of the ping command shows successful resolution of the FQDN to an IP Address, and a sample reply from the. In Linux and MacOS, ping is already run in the default configuration as a continuous ping. The receipt of corresponding echo Reply messages are displayed, along with round-trip times. As you can see, it is a necessary command for the administration of networks and servers. nmap is a wonderful tool specially for debugging, there are lots of times when you need to know if a port is open in a server, or maybe blocked by a firewall, or just to test your iptables rules. The original article used the Windows ping command in its examples, but I've added linux and Mac specific examples too. Ping is mainly used to check if a remote host is reachable or not. Nping is designed to be very flexible and fit a wide variety of needs. So now that traceroute is installed you can use the traceroute command with no issues as long as you are a super user. When you run nmap on behalf of a normal user, a large number of functions will not be available. In Linux -a stands for audible ie; the system will generate beep sound while the peer is reached. You then reduce the size of the packet (eg. PING Command in Linux with examples PING (Packet Internet Groper) command is used to check the network connectivity between host and server/host. In a previous video, I showed you how to get Kali Linux downloaded and installed on a Windows 10 computer. Ping Example 1. This would provide us the IP address of the Domain Name. Ping normally runs continuously until you stop it with CTRL-C, but the command also allows you to specify how many pings you want to send with the -c option. The output is, $ ping -T tsonly 192. Ping normally runs continuously until you stop it with CTRL-C, but the command also allows you to specify how many pings you want to send with the -c option. mysql statements and clauses. 110 These commands send a small amount of data (an ICMP packet) to the remote host and wait for a response. To copy the results in a Windows command prompt, right-click somewhere in the command prompt window, select “Mark,” highlight the text, and then press “Enter. Network cards are referred to as eth0, eth1, eth2, etc based on their position on the PCI bus. If you found this article useful then Like Us, Share Us, Subscribe our Newsletter OR if you have something to say then feel free to comment on the comment box below. com, printing the full network route ECHO_REQUEST sent and ECHO_REPLY received: $ ping -R example. Ping command uses ICMP packets and puts some meaningless data in the ICMP packet. Here are some fundamental and common Linux commands with example usage: Filesystem ls. This tutorial helps you prepare for Objective 109. It's a network troubleshooting tool used for testing reachability of remote systems, servers, and network devices. Automation Workshop does not feature a built-in ping command, however it is very efficient for running external commands. You can use the Ctrl+C terminal shortcut to stop the ping command in Linux, as I did in the above example. The original article used the Windows ping command in its examples, but I've added linux and Mac specific examples too. Ping operates by sending Internet Control Message Protocol (ICMP) Echo Request packets to the target host and waiting for an ICMP Echo Reply. Since I will access through a text terminal, Linux is configured to use the serial port (configured through the file /boot/grub/grub. General articles. Ping stands for Packet Internet Groper. It sends Internet Control Message Protocol (ICMP) echo request packets to a remote IP address and watches for ICMP responses. The Linux find command is a very useful and handy command to search for files from the command line. ping command keep executing and sends the packet until you interrupt. In this tutorial, we will discuss the basics of this tool using some easy to understand examples. Nping accepts multiple host specifications on the command line, and they don't need to be the same type. The command works the same way that tracert or ping do, where you type in the name of the command and the name of the site you want to test. (tested with local and external URL's) I know for a fact the service running on the web server is running as root. -4 This forces the ping command to use IPv4 only but is only necessary if target is a hostname and not an IP address. This will provide ping results from your computer to domain. 5 Most Used Linux Network Troubleshooting and Configuration Commands. Before I learn python, I was doing bash scripts all the while to helps me manipulates text which I get it from log files, or pipes out from some certain command line. commands and commands almost everything in Linux need a command we are not in Windows to click we are in Linux to write! so here is a list for some of the basic commands for Kali Linux If you are looking for Linux Chart Sheet Check this post. One such utility is Ping. You can use [Tab] to help you find CLI commands or to quickly complete the current word in a command. Linux displays another value in the ping output command called the mean deviation (mdev) that is calculated using the response time values. Linux ping command Updated: 05/13/2019 by Computer Hope On Unix-like operating systems, the ping command sends ICMP ECHO_REQUEST packets to network hosts. In order to ping a specific port of a remote host, you need to use layer-4 transport protocols which have a notion of port numbers. Here's a simple example. To ping any machine, execute the following command. A command-line option typically follows the main FTP command after a space. $ ping-i 10 google. It is reserved for future use. In this tutorial, we will show you some basic network commands in Linux, which can be useful when troubleshooting networking problems with other servers both within the network and across the Internet, obtaining more information about other servers. (In other words, the ping packet may reach the destination but not be able to return due to incorrect route table entries somewhere along the packet's path. To use the ping command you go to the command line. history – This command is used to display the last used commands. That's all on How to find the IP address in UNIX, Linux, and other UNIX based systems, e. format - Format disks or tapes. ftp, wget, curl, ssh, apt-get, yum and others. The Complete Alphabetical List of Kali Linux Commands a apropos Search Help manual pages (man -k) apt-get Search for and install software packages (Debian) aptitude Search for and install software packages (Debian) aspell Spell Checker awk Find and Replace text, database sort/validate/index b basename Strip directory. These activities will show you how to use the ping command to perform a ping sweep. Network Debugging mini-HOWTO. REQUEST packet_size Specifies the size, in bytes, of the packet to be sent to the. free - Display memory usage. This document describes how to run the traceroute and ping utilities on different operating systems. The command line is one of the most powerful features of Linux. Unfortunately, lag is always a part of IRC, although most times it's not a problem, just a nuisance. In other words, a low mean deviation value will say that the reponse time values given by the ping command are very similar. AVAILABILITY. Type ping 8. On Unix-like systems such as FreeBSD, macOS, and Linux it is available as a command line tool. com > /dev/null if [$? -eq 0] then echo "ok" fi How it works $? returns the exit status of the command previously executed. Open a new Terminal window. The command retrieves a remote resource and ensures the URL, username and password for the connection are correct. To ping the node (network computer) which has an IPv6 address i. There is an infinite ping running and it is piping the output of that ping command to a file called someFile. The Linux PING command or Packet Internet Groper is a well-loved utility! Its main purpose is to manage the network connectivity status between a source and a device with the help of an IP network. In windows, you can do a continuous ping using 'ping -t' How can you do the same in Unix? Please specify if it's the same for Solaris and Red Hat. If you have any questions or feedback, feel free to leave a comment. If you remember the movie The Hunt for Red October, there's a point at which Sean Connery is in the submarine, and he tells the other man, "Give me one ping. in this post you can see some useful linux commands and examples. In this tutorial, we've drilled down some of the most important commands that are useful for beginners and essential for DevOps engineers and Sysadmins. 8 (Replace 8. ping -Mdo -s 1500 8. After, run ldconfig from the command line (just type ldconfig and press ENTER as root or su). ifconfig command examples. -p Use this switch to ping a Hyper-V Network Virtualization provider address. com to see if it is alive. So below is an example using traceroute from your location to google. Network configuration and troubleshooting are the essential part of Linux administration. If you have any questions or feedback, feel free to leave a comment. AVAILABILITY. To view all available options of the ping command, type man ping in your terminal. This example will ping something 9,999,999 times. The ping command appeared in 4. Kill Ping is a fix for LoL lag, WoW lag, Dota 2 lag, CS:GO lag, Overwatch lag, Battleborn lag and Doom 4 lag etc. where it comes from iputils package for redhat or debian). the Ping program by typing return. If the domain that you are troubleshooting doesn't respond, but the IP gives results, that there is a problem in the hostname resolution. com > /dev/null if [$? -eq 0] then echo "ok" fi How it works $? returns the exit status of the command previously executed. It works by using the TS option of IP packets, specified by RFC791. Find where the ping command is using which ping then call the program from there and it should be. EMCO Ping Monitor Overview. (Linux and Mac versions are also available) Learn more about the tool Here If you wish to go for the command line tool follow the instructions below: Download the third link on the download page or click this direct link : net-snmp-5. Ping is probably the most used tool for checking the network connection to a remote system. Press Windows+R; In the pop-up box, type in ‘cmd’ and hit ok. ping Linux Command – ping ใช้ในการตรวจสอบสถานะ server ปลายทาง คำสั่ง ping $ ping. However from my experience, it's much easier to remember if you write them with pen on paper, rather than just typing on terminal. Let’s learn the most common terminal commands that every Linux/OS X user should know. You have to manually stop the ping command else it will keep on running. The program tests your internet connection speed and ping using speedtest. With the help of this protocol, the ping command sends an echo signal to the destination server and receive the echoed signal from the destination server. 2 in Topic 109 of the Linux® System Administrator (PIC-1) exam 102. The ping command line The ping command runs in a Windows Command Shell (or a Linux /Mac/BSD/Solaris/etc. traceroute command traceroute is a tool used to identify the path used by a packet to reach the destination. Ctrl+Shift+6 Keith Barker - CCIE RS/Security, CISSP Jul 24, 2010 8:54 PM ( in response to Nikhil ) Why does it happen that when we try to ping or traceroute and if we need to stop it by Ctrl+Shift+6, cisco devices don't seem to obey the command. In the future, we will create a separate guide with advanced Linux commands. 1 -c 9999999. In other words, a low mean deviation value will say that the reponse time values given by the ping command are very similar. To use the ping command, you type "ping" followed by an IP number or a website name. • At the Windows command prompt, type: ping –n 10. In this tutorial, we will discuss the basics of this tool using some easy to understand examples. Check apache from command line. The "ping" command will run indefinitely; to stop it, press Ctrl + C. With the help of this protocol, the ping command sends an echo signal to the destination server and receive the echoed signal from the destination server. This is an excellent tool for testing throughput or interfaces. Method One. When the receiving network receives the request it will send back a response which is basically saying "hello". The ping command line tool is a build in tool, in both Windows and Linux base operation system, the tool is used to check if a target system is up or down. The version described here is its descendant specific to Linux. This solution is primary intended for the experienced GNU/Linux hacker, system administrator or app developer wanting full control over the Android device using a standard GNU/Linux environment. 15 Testing Connections. The ping utility is used to test the connectivity to a remote machine. …The targeted host receives the packets. BUT, as I said, I would like to know the ping result (If I get a ping reply. Microsoft Windows and ReactOS provide a program named tracert that performs the same route. It offers many inbuilt commands to diagnose for network issues. 53 54 - Install a Linux distribution and tools 55 56 The first kernel release to contain both the NFS/RDMA client and server was 57 Linux 2. Whether it is Local Area Network (LAN) or Wide Area Network (WAN). Combine there two results to create a message 'mesg' which will be dispatched to 'email_id' using mail command and displayed on the terminal screen. This is an excellent tool for testing throughput or interfaces. Online Ping, Traceroute, DNS lookup, WHOIS, Port check, Reverse lookup, Proxy checker, Bandwidth meter, Network calculator, Network mask calculator, Country by IP. So, I just installed Kali Linux 2018. I tested it in my lab, and found all my Linux machines happily telling me about their existence, but my super stealthified (NOT!). It may be used as set-uid root. This is great, but if you need to accessing the internet via the command line, it doesn’t let you. Jump To: Ping command & syntax. If you are curious as to what path your requests are taking, as well as how long it takes to get from point A to point B (as well as intermediary stops), you can use the Traceroute tool. So, if you will be using a Debian/Ubuntu based distro, first install moreutils. %i > nul && echo 192. 3 depends on the folder you are trying to sync, but here is a sample. TTL=64 = *nix - the hop count so if your getting 61 then there are 3 hops and its a *nix device. It is a diagnostic that checks if your computer is connected to a server * ICMP means Internet Control Message Protocol and is always coupled with the IP pro. On Linux, the desktop environment automatically connects to the internet. Ping is used for verifying connectivity between two hosts on a network. Sorry, but the discord. The specific implementation is actually in the Linux. We all know how important it is to keep a backup of our work. The original article used the Windows ping command in its examples, but I've added linux and Mac specific examples too. Some times it's required to find command location to use it as path is not set properly to /bin or /sbin or some other folder. Ping is a command utility to check the the connectivity of devices. That's all on How to find the IP address in UNIX, Linux, and other UNIX based systems, e. 8 (Replace 8. Note that this is from an Ubuntu 2. The tracert action can be roughly emulated using the -i option of ping. SECURITY ping requires CAP_NET_RAWIO capability to be executed. Unix Commands Reference; Unix - Tutorial Home; A; accept; alias; aspell; awk; B; basename; bc; bg; break; builtin; bzip2; C; cal; case; cat; cd; chgrp; chkconfig. A failed ping is no longer a valid test — the user may have enabled a firewall that is blocking the ping, but the host may still be up. Linux command options in Left 4 Dead (2) The linux version of Left 4 Dead and Left 4 Dead 2 dedicated server added extra server commands. All commands (A-Z) for Kali Linux here: a apropos Search Help manual pages (man -k) apt-get Search for and install software packages (Debian/Ubuntu) aptitude Search for and install software packages (Debian/Ubuntu) aspell Spell Checker awk Find and Replace text, database sort/validate/index b basename Strip directory and suffix from filenames. SUSE Linux Enterprise Workstation Extension. Open Run category, select Run DOS / Cmd Command Action and click OK. It has been merged into ping. The command sends a series of small packets to a specific node. -p Use this switch to ping a Hyper-V Network Virtualization provider address. Using Windows Command Prompt to Test Internet Connection: IntroductionThis guide will instruct you on how to use Windows Command Prompt to run the program "ping" to test your internet connection. Additionally, there are no errors at all, so no clues, what is going on. The "ping" command will run indefinitely; to stop it, press Ctrl + C. Replace hostname with the website that or server that you want to ping. ping -c 10 is typical of modern linux (e. The version described here is its descendant specific to Linux. The following sections show the basic usage. Since we want to resolve a Domain Name to an IP, we need to do a DNS Lookup. When you run ping, the ICMP protocol sends a datagram to the host that you specify, asking for a response. 15 Testing Connections. Related Stories: NMAP Ping Commands(Jun 15, 2017) Linux Ping Command Explained with Examples(Jan 23, 2019) Fping - A High Performance Ping Tool for Linux(Aug 01, 2018). Linux is a most powerful operating system, and networking is an essential part of servers. This tutorial reflects the Version 5. Mtr(my traceroute) is a command line network diagnostic tool that provides the functionality of both the ping and traceroute commands. The typical Ping command can be given an IP Address or a DNS name to 'Ping' another TCP/IP system or device. To know more about any of the following commands, run $ info. Note that the ping command is implemented using ICMP, so all of the proper route statements must be in place between the two endpoints. PING Command in Linux. Combine there two results to create a message 'mesg' which will be dispatched to 'email_id' using mail command and displayed on the terminal screen. The ping command is a very common method for troubleshooting the accessibility of devices. The remote host could be a web server, your router or a system on your local network. Netcat (nc) Command Tutorial With Examples. Related linux commands: netstat - Networking connections/stats. Start typing Command Prompt. Another option is using the ping command-line tool with the -t parameter. General networking knowledge and familiarity with Linux network related commands ; play ping-pong or volleyball, or stop in our 24- hour fitness center for a group or individual workout) to. history – This command is used to display the last used commands. Follow Sandra on Twitter: https://twitter. C / C++ Forums on Bytes. DMTF SMASH CLP Commands: help : Used to get context sensitive help. apt-get update apt-get install iputils-ping Chances are you dont need ping your image, and just want to use it for testing purposes. AVAILABILITY. It is worth noting that the ping command has universal compatibility, in the sense that you can use it in Windows (Command Prompt, Powershell), Mac (Terminal app) and any Linux distribution. Ping Command Prompt. Netstat is a command line utility that can be used to list out all the network (socket) connections on a system. in this post you can see some useful linux commands and examples. When using ping for fault isolation, first ping the local host to verify that the local network interface is running. Every time i try to ping them by name, the result on the console is "Ping request could not find host [host name]", though i can still ping by IP. The tracert action can be roughly emulated using the -i option of ping. Ping is probably the most used tool for checking the network connection to a remote system. To ping the node (network computer) which has an IPv6 address i. fsck - Filesystem consistency check and repair. Ping is pre-installed on most of Linux distributions so no need to worry, simply fire the following commands to get it work. Using ifconfig. In this example host name is poftut. RedHat Linux command to reload or restart network (login write a script that determines the status of your ping and to simply reconnect it if needed. These activities will show you how to use the ping command to perform a ping sweep. These results can be useful in advanced troubleshooting for latency issues, but the fact that the ping test returned results means that your computer is able to connect to that address. This tutorial reflects the Version 5. Question: When I execute ping command from the command line, it keeps sending the packets until I hit CTRL-C to terminate the ping command output. You can also check the time of the response and the TTL. The ping command sends packets of data to a specific IP address on a network, and then lets you know how long it took to transmit that data and get a response. Usually I use ping to check my internet connection. Nping is designed to be very flexible and fit a wide variety of needs. The ping command completes when the program times out or on receipt of a SIGINT signal. Here I checking the connectivity of one of my desktop systems whose IP Address is 192. To run the Ping command, you must have permission on the object you want to ping. Today we are going to cover 6 Basic Network Commands in Linux. If not, then search the Web for the RPM for your Linux distro and install the library. Kill Ping is a fix for LoL lag, WoW lag, Dota 2 lag, CS:GO lag, Overwatch lag, Battleborn lag and Doom 4 lag etc. com For Windows Distributions, you can use Zenmap which is the […]. Ping is used for verifying connectivity between two hosts on a network. This quick tutorial shows you how to ping a specific port of a remote server. Most of you are very familiar with ping command which is most commonly used to check any network device is alive or not. The command line is one of the most powerful features of Linux. An effort is made to distinguish the differences between command and shell. 3 Packet Tracer - Using the Ping Command Answers Packet Tracer - Using the Ping Command (Answers Version) Answers Note: Red font color or gray highlights indicate text that appears in the Answers copy only. Options of ping6 command. Linux Mail Command Usage with Examples. ) we can use the ping command. Windows XP does a better job. PING (Packet INternet Groper) command is the best way to test connectivity between two nodes. A script to monitor servers, Ping Test, with email notification The Script runs against a list of Servers and notifies the user if the servers are down. The time needed to get the answer is called ping time or round-trip time. This cannot be reached through ping by using the hostname. In this example host name is poftut. Linux Commands Following is the complete list of linux commands. I copy the info here so it won't vanish once their knowledgebase goes offline. Ping is used primarily to troubleshoot Internet connections and there are many freeware and shareware Ping utilities available for download. The Linux command-line cheat sheet This select set of Linux commands can help you master the command line and speed up your use of the operating system. Ping is a computer network administration software utility used to test the reachability of a host on an Internet Protocol (IP) network. Learn Ping Command Examples. We strongly recommend using our Linux VPN command-line tool which makes it easy to connect on Linux machines. Additionally, there are no errors at all, so no clues, what is going on. How to Use the Linux Ping Command. I have problems, with linux, when I try to send the ping +1500 packet size, it is not returning neither timeout nor success. Type ping hostname or ping IP address. Finally notice that the script logs the start time when it was first run and then outputs this both to the command console and to the log file along with the time that the script finished. Now we'll discus about some basic linux commands with examples, you're almost always going to need those commands, so better to remember them.