ping command not found code example
Example 1: ping command not found
apt-get update
apt-get install iputils-ping
Example 2: ping command not found
$ sudo apt install iputils-ping
apt-get update
apt-get install iputils-ping
$ sudo apt install iputils-ping