how to ping in linux terminal code example Example: linux install ping apt-get update apt-get install iputils-ping