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
Let's dive into the world of user privileges on Linux systems. We'll explore the differences between sudo, su, and sudo su.
#Linux #UserPrivileges
2/8 π¦ First up, sudo!
sudo stands for "Superuser Do." It allows regular users to perform administrative tasks by temporarily gaining root (superuser) privileges. Just add "sudo" before a cmd to execute it with elevated privileges. eg: sudo apt-get update updates packages.
1/ π‘ Let's dive into the world of networking and infrastructure components: Load Balancer, Reverse Proxy, and API Gateway.
They play distinct roles in managing web traffic.
2/ π Reverse Proxy:
A reverse proxy is like a middleman between clients and servers. It handles requests on behalf of servers, often providing benefits like security, load balancing, and caching.
All possible reasons a Kubernetes Pod can go into CrashLoopBackOff π§΅π
1/π§΅ What causes a Kubernetes Pod to go into CrashLoopBackOff?
Hereβs a deep-dive thread on ALL the possible reasons and how to fix them. ππ³
#Kubernetes #DevOps #CrashLoopBackOff
2/ Container Exit Code != 0
Your container crashed due to an error in the app.
π οΈ Fix: Check logs with kubectl logs <pod> and fix code/config causing the error.