$
Linux Practice
Practice
Tutorials
English
한국어
日本語
中文
terminal
Welcome to Linux Practice Terminal!
Type "help" to see available commands.
user
@linux:
~
$
ping - Network Connectivity
Reset Lesson
Learn to test network connectivity using the ping command.
Step 1
Ping google.com to test network connectivity.
Type: ping google.com
ping google.com
Step 2
Use -c to limit the number of ping packets to 2.
Step 3
Ping localhost to test the local loopback interface.
Step 4
Try pinging an unreachable host to see what failure looks like.