Understanding Network Connections and installing Cups - Why do we print so much, arg! EC2 Metadata
You can curl http://169.254.169.254/latest on your EC2 instance to get metadata. It is pretty cool.
Installing the CUPS printing. I really do not like printing so I will likely do my best to avoid to many videos about it.
Common networking commands for troubleshooting/understanding/etc
I have a video specifically about wireshark... https://youtu.be/xqHy2xZjuZ0
Geolocate an IP - https://www.iplocation.net/ip-lookup
[ec2-user@ip-172-31-81-162 ~]$ history
27 netstat -tnlp
28 clear
29 netstat -tnp
30 netstat -tnlp
31 sudo netstat -tnlp
32 man cups
33 sudo yum -y install cups
34 netstat -ntlp
35 sudo netstat -ntlp
36 sudo systemctl start cups.service
37 sudo netstat -ntlp
38 man cups
39 man lpinfo
40 man lpadmin
41 curl localhost:631
42 exit
43 ping www.amazon.com
44 ifconfig
45 curl http://169.254.169.254
46 curl http://169.254.169.254/latest
47 curl http://169.254.169.254/latest/meta-dat
48 curl http://169.254.169.254/latest/meta-data
49 curl http://169.254.169.254/latest/meta-data/public-ipv4
50 ping www.amazon.com
51 traceroute www.amazon.com
52 clear
53 lsof
54 sudo lsof
55 sudo lsof | ESTA
56 sudo lsof | grep ESTA
57 sudo lsof | grep -i esta
58 netstat
59 netstat -tnlp
60 man tcpdump
61 history