ss command is a tool that is used for displaying network socket related information on a Linux system.
nmap -
Nmap is short for Network Mapper. It is an open-source Linux cmd-line tool that is used to scan IPs & ports in a nw & to detect installed apps. Nmap allows nw admins to find which devices r running on their nw, discover open ports & services, and detect vulnerabilities.
ping & traceroute-
Ping cmd is used to test d ability of d src system to reach a specified destination system.
Traceroute is a nw diagnostic tool used to track in realtime d pathway taken by a pkt on an IP nw from src to dest,reporting d IPaddr of all d routers it pinged in b/n
ethtool -
Ethtool is a Network Interface Card (NIC) utility/configuration tool. Ethtool allows you to query and change your NIC settings such as the Speed, Port, auto-negotiation and many other parameters.
dig -
Dig (Domain Information Groper) is a powerful cmd-line tool for querying DNS name servers.
It allows you to query info abt various DNS records, including host addresses, mail exchanges, & name servers. A most common tool among sysadmins for troubleshooting DNS problems.
netcat -
Netcat is one of d powerful networking tool,security tool or nw monitoring tool. It acts like cat cmd over a nw.
It is generally used for:
Port Scanning /listening/redirection
open Remote connections
Read/Write data across network
Network debugging
Network daemon test
socat -
The socat command shuffles data between two locations. One way to think of socat is as the cat command which transfers data between two locations rather than from a file to standard output.
tcpdump -
Tcpdump is a command line utility that allows you to capture and analyze network traffic going through your system. It is often used to help troubleshoot network issues, as well as a security tool.
top -
The top command is used to show the active Linux processes. It provides a dynamic real-time view of the running system. Usually, this command shows the summary information of the system and the list of processes or threads which are currently managed by the Linux kernel.
wireshark -
Wireshark is a packet sniffer and analysis tool. It captures network traffic on the local network and stores that data for offline analysis.
Retweet the thread if you find it useful. You can follow me for more such content.
PC: Julia Evans / Comparitech
• • •
Missing some Tweet in this thread? You can try to
force a refresh
1/15 Q: What is the difference b/n an Internet Gateway (IGW) & a NAT Gateway in AWS networking?
A: An IGW allows communication b/n instances in a VPC & the internet, while a NAT Gateway enables outbound internet traffic from private subnets without exposing their IP addresses.
2/15 Q: Explain the concept of VPC peering in AWS.
A: VPC peering allows connecting two VPCs privately to share resources, like EC2 instances, without traversing the internet. It enables communication using private IP addresses across peered VPCs. #AWSNetworkingInterview
A thread with 15 interview questions & answers for new/intermediate administrators ⚓️👇
1/15: Question: What is a Kubernetes Pod, and why is it used?
Answer: A Pod is the smallest deployable unit in Kubernetes, representing one or more containers that share resources. It's used to deploy, manage, and scale containers.
2/15: Question: How does Kubernetes manage container networking?
Answer: Kubernetes uses the Container Network Interface (CNI) to manage container networking. CNI plugins allow for different network configurations and overlays, enabling communication between pods across nodes.
1️⃣ Q: How do you optimize disk I/O performance in Linux?
A: Utilize techniques like RAID striping, I/O schedulers (e.g., deadline, noop), and file system optimizations (e.g., tuning journaling options).
2️⃣ Q: Explain the concept of kernel namespaces in Linux.
A: Kernel namespaces isolate and virtualize system resources, enabling processes to have their own view of the system, improving security and resource management.
15 Docker scenario-based interview questions and answers 👇🛳️
Q1: U r tasked with deploying a multi-container app on Docker. How would u orchestrate these containers effectively?
A: Utilize Docker Compose, defining services, networks, & volumes in a YAML file. It simplifies multi-container deployments, ensuring consistency & scalability.
Q2: ur team wants to ensure seamless updates without downtime. How would u achieve zero-downtime deployments with Docker?
A: Implement rolling updates with Docker Swarm/ Kubernetes. By gradually updating containers while keeping the app available, u ensure uninterrupted service.
What happens at the backend when you launch a Pod in Kubernetes!
A Thread 👇
🐳 Step 1: YAML Configuration
To kick things off, you create a YAML file defining your Pod's configuration. This includes details like container images, ports, volumes, etc. #Kubernetes #YAML
🔍 Step 2: API Request
Once you've got your YAML ready, you send an API request to the Kubernetes cluster. This request includes your Pod configuration. #K8s #API