Rakesh Jain Profile picture
Oct 9, 2021 β€’ 12 tweets β€’ 4 min read β€’ Read on X
Linux Networking Tools -

ss, nmap, dig, netcat, ping, tcpdump, socat, top, ethtool

A Thread πŸ‘‡
SS -

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
γ€€

Keep Current with Rakesh Jain

Rakesh Jain Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @devops_tech

May 5
🧡 Kubernetes Troubleshooting Series:

Scenario: Pod stuck in ImagePullBackOff or ErrImagePull?

Here’s a step-by-step thread to troubleshoot and fix it like a pro. πŸ’‘

#Kubernetes #DevOps #Containers Image
1/ Why does this happen?

When a pod can’t pull the container image, it may get stuck in ImagePullBackOff or ErrImagePull.

This commonly occurs due to:
- Private Docker registries 🏰
- Wrong image names/tags ❌
- Expired or missing imagePullSecrets πŸ”
2/ Step 1 – Inspect Pod Events

Run:
kubectl describe pod <pod-name>

Check the Events section. Look for errors like:
- pull access denied
- manifest not found
- rpc error from daemon

These reveal the root cause.
Read 13 tweets
Mar 26
🐧 AWK Master Cheat Sheet: 15 Must-Know Commands for DevOps & Linux Admins πŸ–₯️ Image
1️⃣ Basic Print

Print the first column of a file:
awk '{print $1}' file.txt

πŸ‘‰ Extracts and prints the first field from each line.
2️⃣ Print Specific Columns

Print columns 1 and 3 separated by -:
awk '{print $1 "-" $3}' file.txt

πŸ‘‰ Useful for structured data processing.
Read 18 tweets
Mar 24
πŸš€ 7-Day Docker Learning Series – Day 7: Docker Security Best Practices πŸ›‘οΈ Image
Welcome to the final day of our Docker Learning Series! Today, we’ll focus on Docker Security – essential for protecting your containers, images, and infrastructure.
πŸ”Ή Why is Docker Security Important?
β€’ Containers share the host kernel πŸ–₯️
β€’ Misconfigurations can expose sensitive data πŸ›‘
β€’ Unverified images can introduce vulnerabilities ⚠️

πŸ§΅πŸ‘‡ (Thread)
Read 16 tweets
Mar 22
πŸš€ 7-Day Docker Learning Series – Day 6: Docker Compose – Managing Multi-Container Applications πŸ› οΈ Image
Welcome to Day 6 of our Docker Learning Series! Today, we’ll learn about Docker Compose, a powerful tool to define and manage multi-container applications using a simple YAML file.

πŸ”Ή Why Use Docker Compose?

πŸ§΅πŸ‘‡ (Thread)
1️⃣What is Docker Compose?πŸ“œ

Docker Compose is a tool that allows you to define & run multi-container apps using a single YAML config file (docker-compose.yml).
βœ… Helps manage complex applications
βœ… Simplifies multi-container setups
βœ… Automates container startup & networking
Read 14 tweets
Mar 21
πŸš€ 7-Day Docker Learning Series – Day 5: Docker Networking – Connecting Containers 🌐 Image
Welcome to Day 5 of our Docker Learning Series! Today, we’ll dive into Docker Networking, how containers communicate, and different network types.

πŸ”Ή Why is Docker Networking Important?

πŸ§΅πŸ‘‡ (Thread)
1️⃣ What is Docker Networking? 🌐

Docker provides a networking system that allows containers to communicate with each other or with the outside world.
Read 20 tweets
Mar 18
πŸš€ 7-Day Docker Learning Series – Day 4: Docker Volumes – Managing Data in Containers πŸ“¦

Welcome to Day 4 of our Docker Learning Series! Today, we’ll learn how Docker handles data using volumes. Image
πŸ”Ή Why Do We Need Docker Volumes?

πŸ§΅πŸ‘‡ (Thread)
1️⃣ What Happens to Data in Containers? ❌

By default, when a container is deleted, all its data is lost!
To persist data outside the container, we use Docker Volumes.
Read 15 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us!

:(