Notes: https://docs.google.com/document/d/1G...
00:00 14.1: Examine Network Configuration Information
00:06 14.2: Exploring the Network
To examine your IP address, use [ ifconfig ] command.
Routing allows you to communicate with systems on other networks, to view a table of routing information, use [ route ] command.
IP addresses are stored in the /etc/hosts file.
Ping shows if another machine is reachable, use the [ ping ] command.
To only ping a certain many times, use [ ping -c[number] ].
02:29 14.2.5:
Name of a server exists in the [ /etc/resolv.conf ], use cat to view it.
The dig command resolves the local host name to an IP address, use [ dig [localhost.localdoman] ].
Use the dig command to resolve the IP address to a hostname, [dig -x [IP address] ].
03:37 14.2.9: netstat Command
This command performs a large variety of tasks related to networking.
Do --help to see capabilities.
Use netstat with -tln options. -n is to show names instead of numbers. -t is to show only tcp ports. -l option limits the output to ports with listening services.
04:39 14.2.12: ss Command
Similar but more advanced then the netstat command.
We can see traffic across a server.