Thankfully pinging from an Ubuntu server is very similar to how its done on Windows systems.
To ping a website or ip address 4 times use
ping -c 4 hostname
to do 8 requests
ping -c 8 hostname
Without the -c
parameter the ping requests will keep running until you manually cancel it. The -c
stands for count and stops the ping after that amount of packets have been sent.
You can read more up on ping at the Ubuntu manual.
A drained and empty Kennington reservoir images from a drone in early July 2024. The…
Merrimu Reservoir from drone. Click images to view larger.
Using FTP and PHP to get an array of file details such as size and…
Creating and using Laravel form requests to create cleaner code, separation and reusability for your…
Improving the default Laravel login and register views in such a simple manner but making…
Laravel validation for checking if a field value exists in the database. The validation rule…