AWS Builder Center

5 Linux Networking Commands I’m Relearning

Five essential Linux networking commands (ip, ping, ss, traceroute and dig) that every cloud student should know, explained in one line each.

As a cloud student, I noticed I had forgotten some networking basics that matter on every EC2 instance. Here are five commands I’m relearning, and what each one tells you:
  1.  ip a  shows your network interfaces and IP addresses.
  1.  ping  checks whether another machine is reachable.
  1.  ss -tuln  lists the ports your machine is listening on.
  1.  traceroute  shows the path your traffic takes to a destination.
  1.  dig  tests whether DNS resolves a name correctly.
Next, I plan to try these on an EC2 instance to see how they behave in the cloud. Which commands do you use most when debugging a connection?
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article