ๆƒฏๆ€ง่šๅˆ ้ซ˜ๆ•ˆ่ฟฝ่ธชๅ’Œ้˜…่ฏปไฝ ๆ„Ÿๅ…ด่ถฃ็š„ๅšๅฎขใ€ๆ–ฐ้—ปใ€็ง‘ๆŠ€่ต„่ฎฏ
้˜…่ฏปๅŽŸๆ–‡ ๅœจๆƒฏๆ€ง่šๅˆไธญๆ‰“ๅผ€

ๆŽจ่่ฎข้˜…ๆบ

D
Docker
MyScale Blog
MyScale Blog
WordPressๅคงๅญฆ
WordPressๅคงๅญฆ
N
News and Events Feed by Topic
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
MongoDB | Blog
MongoDB | Blog
V
Vulnerabilities โ€“ Threatpost
ๆœˆๅ…‰ๅšๅฎข
ๆœˆๅ…‰ๅšๅฎข
็ฝ—
็ฝ—็ฃŠ็š„็‹ฌ็ซ‹ๅšๅฎข
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Apple Machine Learning Research
Apple Machine Learning Research
ๆœ‰่ตžๆŠ€ๆœฏๅ›ข้˜Ÿ
ๆœ‰่ตžๆŠ€ๆœฏๅ›ข้˜Ÿ
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
F
Full Disclosure
Simon Willison's Weblog
Simon Willison's Weblog
D
DataBreaches.Net
T
Threatpost
Hacker News: Ask HN
Hacker News: Ask HN
้˜ฎไธ€ๅณฐ็š„็ฝ‘็ปœๆ—ฅๅฟ—
้˜ฎไธ€ๅณฐ็š„็ฝ‘็ปœๆ—ฅๅฟ—
TaoSecurity Blog
TaoSecurity Blog
Microsoft Azure Blog
Microsoft Azure Blog
Scott Helme
Scott Helme
S
Securelist
W
WeLiveSecurity
K
Kaspersky official blog
The GitHub Blog
The GitHub Blog
Attack and Defense Labs
Attack and Defense Labs
ๅš
ๅšๅฎขๅ›ญ - ไธ‰็”Ÿ็ŸณไธŠ(FineUIๆŽงไปถ)
The Hacker News
The Hacker News
Google Online Security Blog
Google Online Security Blog
Stack Overflow Blog
Stack Overflow Blog
Hacker News - Newest:
Hacker News - Newest: "LLM"
Security Latest
Security Latest
M
MIT News - Artificial intelligence
ไบบไบบ้ƒฝๆ˜ฏไบงๅ“็ป็†
ไบบไบบ้ƒฝๆ˜ฏไบงๅ“็ป็†
The Last Watchdog
The Last Watchdog
C
Check Point Blog
T
Troy Hunt's Blog
P
Proofpoint News Feed
J
Java Code Geeks
G
Google Developers Blog
Schneier on Security
Schneier on Security
Cyberwarzone
Cyberwarzone
S
Security @ Cisco Blogs
ๅฎ็މ็š„ๅˆ†ไบซ
ๅฎ็މ็š„ๅˆ†ไบซ
Recent Commits to openclaw:main
Recent Commits to openclaw:main
A
About on SuperTechFans
T
The Blog of Author Tim Ferriss
L
LINUX DO - ๆœ€ๆ–ฐ่ฏ้ข˜
Jina AI
Jina AI

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Donโ€™t Fail โ€” They Drift Spilling beans for how i learn for exam๐Ÿ˜"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" โ€” What Actually Happened Comfy Cloudโ€™s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions โ€” here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components โ€” Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cรณmo construรญ un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 ๐Ÿš€ I Built an Ethical Hacking Scanner Tool โ€“ Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points โ€” Here's What I Found About How Markets Really Move EcoTrack AI โ€” Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead โ€” I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve โ€” no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like Youโ€™re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace โ€” how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025โ€“62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D โ€” A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent โ€” It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly โ€” 2026/04/10โ€“04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI ้€ฑๅ ฑ โ€” 2026/04/10โ€“2026/04/17 ๆจกๅž‹ๅฐ้Ž–ๆฝฎไพ†ไบ†๏ผŒไฝ†ๅทฅๅ…ท้ˆๆ‰ๆ˜ฏ็œŸๆˆฐๅ ด Maybe this is how Open-Source apps are born... ๐Ÿš€ Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge โ€” $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase โ€” Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train โ€” Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extraรงรฃo de Vรญdeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life โ€” Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 โ€” Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything Updated: BFF Pattern I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows โ€” Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTrackingๅฎ‰่ฃ…ๅ’ŒiPhone้ขๆ•้…็ฝฎๆ•™็จ‹๏ผŒๆœ‰bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
Linux Networking Commands Every Engineer Should Learn
Pallavi ยท 2026-06-18 ยท via DEV Community

๐ŸŒ Linux Networking Commands Every Engineer Should Learn

Modern software systems are no longer confined to a single machine. Applications run across servers, containers, cloud environments, Kubernetes clusters, edge devices, and distributed networks spread across multiple regions.

In this interconnected world, networking issues can bring entire systems to a halt.

๐Ÿšซ A web application may suddenly become unreachable.

๐Ÿšซ A microservice may fail to communicate with another service.

๐Ÿšซ A database connection may timeout.

๐Ÿšซ A Kubernetes pod may become inaccessible.

When such incidents occur, experienced engineers don't immediately blame the application code. Instead, they begin investigating the network.

This is where Linux networking commands become invaluable.

Whether you're a Linux administrator, DevOps engineer, cloud architect, software developer, cybersecurity analyst, or Site Reliability Engineer (SRE), understanding Linux networking tools is a fundamental skill.


๐Ÿš€ Why Networking Skills Matter for Modern Engineers

Consider a common production scenario.

Situation

โœ… Application deployed successfully

โœ… CPU usage is normal

โœ… Memory usage is healthy

โŒ Users cannot access the application

Possible causes include:

โœ”๏ธ DNS Resolution Failure

โœ”๏ธ Routing Issues

โœ”๏ธ Firewall Restrictions

โœ”๏ธ Network Latency

โœ”๏ธ Port Accessibility Problems

โœ”๏ธ Load Balancer Misconfiguration

โœ”๏ธ Container Networking Issues

Without networking knowledge, identifying the root cause becomes difficult.

Linux networking commands provide visibility into what's happening beneath the application layer.


๐Ÿ” Understanding the Networking Troubleshooting Workflow

Experienced engineers often follow a structured approach:

Application Issue
       โ†“
Check Connectivity
       โ†“
Verify DNS
       โ†“
Validate Routing
       โ†“
Check Ports
       โ†“
Inspect Traffic
       โ†“
Identify Root Cause

The commands covered in this guide form the foundation of that workflow.


๐ŸŒ 1. ip Command

The ip command is one of the most important networking utilities in modern Linux systems.

It replaces legacy tools such as:

โœ… ifconfig

โœ… route

โœ… arp


Display IP Addresses

ip addr show

Example Output

eth0: 192.168.1.100/24

This reveals:

โœ”๏ธ IP Address

โœ”๏ธ Subnet Mask

โœ”๏ธ Network Interface Information


Display Routing Table

ip route

Example Output

default via 192.168.1.1 dev eth0

This shows how packets travel through the network.

Why Engineers Use It

โœ… Diagnose connectivity issues

โœ… Verify network interfaces

โœ… Validate routing configurations


๐Ÿ“ก 2. ping Command

The ping command checks network connectivity between systems.

Example

ping google.com

Example Output

64 bytes from google.com:
time=18 ms

What Ping Helps Identify

โœ”๏ธ Network Reachability

โœ”๏ธ Packet Loss

โœ”๏ธ Latency Issues

โœ”๏ธ DNS Functionality

Practical Scenario

ping database-server

Useful when troubleshooting database connectivity issues.


๐Ÿ›ฃ๏ธ 3. traceroute Command

Sometimes a destination is reachable, but packets experience delays.

This is where traceroute becomes useful.

Example

traceroute google.com

Example Output

1 Router A
2 ISP Gateway
3 Regional Backbone
4 Google Network

What It Shows

โœ”๏ธ Every network hop

โœ”๏ธ Routing path

โœ”๏ธ Bottlenecks

โœ”๏ธ Routing loops

Real-World Benefits

โœ… Network troubleshooting

โœ… ISP issue detection

โœ… Cloud connectivity analysis


๐Ÿ”Ž 4. nslookup Command

DNS is often the hidden cause of application failures.

Example

nslookup google.com

Output

Name: google.com
Address: 142.250.x.x

Why It Matters

Applications communicate through:

โœ”๏ธ Domain Names

Not:

โŒ Raw IP Addresses

If DNS fails, applications become inaccessible.


๐Ÿ“– 5. dig Command

Engineers often prefer dig because it provides detailed DNS information.

Example

dig google.com

Important Sections

โœ”๏ธ ANSWER SECTION

โœ”๏ธ AUTHORITY SECTION

โœ”๏ธ QUERY TIME

Common Use Cases

โœ… DNS Troubleshooting

โœ… Mail Server Verification

โœ… Cloud Service Validation

โœ… Performance Analysis


๐Ÿ“Š 6. netstat Command

Although largely replaced by newer tools, netstat remains widely used.

Example

netstat -tuln

Example Output

TCP 0.0.0.0:80 LISTEN
TCP 0.0.0.0:443 LISTEN

What It Shows

โœ”๏ธ Active Connections

โœ”๏ธ Listening Ports

โœ”๏ธ Routing Tables

โœ”๏ธ Network Statistics

Why It Matters

When a website is inaccessible, verifying listening ports is critical.


โšก 7. ss Command

The modern replacement for netstat is ss.

Example

ss -tulnp

Output

LISTEN 0 128 *:80

Advantages

โœ”๏ธ Faster Performance

โœ”๏ธ Better Scalability

โœ”๏ธ Improved Filtering

In large cloud environments, ss handles thousands of connections efficiently.


๐ŸŒ 8. curl Command

The curl command is one of the most powerful networking tools available.

Example

curl https://api.example.com

What It Can Do

โœ”๏ธ Test REST APIs

โœ”๏ธ Download Files

โœ”๏ธ Verify HTTPS Endpoints

โœ”๏ธ Debug Application Responses

Check HTTP Headers

curl -I https://example.com

Example Output

HTTP/1.1 200 OK

A favorite tool among backend developers and DevOps engineers.


๐Ÿ“ฅ 9. wget Command

The wget utility is primarily used for downloading content.

Example

wget https://example.com/file.zip

Common Uses

โœ… Software Installation

โœ… Script Automation

โœ… Backup Downloads

โœ… Repository Synchronization


๐Ÿท๏ธ 10. host Command

The host command provides quick DNS lookups.

Example

host google.com

Output

google.com has address
142.250.x.x

A lightweight alternative to:

โœ”๏ธ dig

โœ”๏ธ nslookup


๐Ÿ”— 11. arp Command

ARP (Address Resolution Protocol) maps IP addresses to MAC addresses.

Example

arp -a

Output

192.168.1.10 at
00:11:22:33:44:55

Why It Matters

Useful for identifying:

โœ… Duplicate IP Addresses

โœ… Local Network Issues

โœ… Device Connectivity Problems


๐Ÿ”ฌ 12. tcpdump Command

When deep packet analysis is required, engineers use tcpdump.

Example

tcpdump -i eth0

Captures packets traversing a network interface.


Capture HTTP Traffic

tcpdump port 80

Real-World Use Cases

โœ… API Debugging

โœ… Security Investigations

โœ… Packet Analysis

โœ… Protocol Troubleshooting

Think of tcpdump as a network microscope.


๐Ÿ” 13. nmap Command

The nmap utility is widely used for network discovery and security assessments.

Example

nmap 192.168.1.10

Output

80/tcp open
443/tcp open

What It Helps Identify

โœ”๏ธ Open Ports

โœ”๏ธ Running Services

โœ”๏ธ Network Devices

โœ”๏ธ Security Vulnerabilities


๐Ÿ›ค๏ธ 14. route Command

Although largely replaced by the ip command, route remains useful.

Example

route -n

This displays routing information used by the operating system.

Common Uses

โœ… Route Verification

โœ… Gateway Troubleshooting

โœ… Cloud Networking Analysis


๐Ÿ“ˆ 15. mtr Command

The mtr command combines:

โœ”๏ธ ping

โœ”๏ธ traceroute

into a single diagnostic tool.

Example

mtr google.com

Benefits

Provides real-time:

โœ… Packet Loss Statistics

โœ… Latency Analysis

โœ… Route Visibility

Many SRE teams rely on MTR during incident response.


๐Ÿ“‹ Essential Networking Commands Cheat Sheet

Command Purpose
ip Interface and routing management
ping Connectivity testing
traceroute Path analysis
nslookup DNS lookup
dig Advanced DNS diagnostics
ss Socket statistics
netstat Network statistics
curl API and HTTP testing
wget File downloads
host DNS lookup
arp IP-to-MAC mapping
tcpdump Packet capture
nmap Port scanning
route Route inspection
mtr Combined ping and traceroute

โ˜๏ธ Linux Networking in Cloud & DevOps Environments

Today's engineers rarely work with standalone servers.

Instead, they manage:

โœ… AWS

โœ… Azure

โœ… Google Cloud

โœ… Kubernetes Clusters

โœ… Docker Containers

Modern Traffic Flow

User
 โ†“
Load Balancer
 โ†“
Ingress Controller
 โ†“
Kubernetes Service
 โ†“
Application Pod

A failure at any layer can impact availability.

This is why networking skills are a critical component of modern DevOps and Multi-Cloud with AI environments.


๐Ÿ“Š Networking Commands and Data Analytics Workloads

Large-scale analytics systems rely heavily on networking.

Examples include:

โœ… Hadoop Clusters

โœ… Spark Environments

โœ… Data Warehouses

โœ… Streaming Platforms

Network bottlenecks can dramatically affect performance.

Engineers frequently use networking tools to diagnose distributed system issues.


๐Ÿค– Networking in the Era of Generative AI & Agentic AI

Modern AI systems rely on:

โœ… Distributed Model Serving

โœ… API Communication

โœ… Vector Databases

โœ… Multi-Cloud Deployments

โœ… GPU Clusters

Example AI Workflow

User Query
      โ†“
API Gateway
      โ†“
LLM Service
      โ†“
Vector Database
      โ†“
Response Generation

Every component depends on reliable network communication.

Networking commands help diagnose:

โœ”๏ธ Latency Issues

โœ”๏ธ DNS Failures

โœ”๏ธ Packet Loss

โœ”๏ธ Service Connectivity Problems


๐Ÿ’ก Best Practices for Network Troubleshooting

Experienced engineers follow a systematic methodology.

โœ… Step 1: Verify Connectivity

ping target-server

โœ… Step 2: Check DNS Resolution

dig domain.com

โœ… Step 3: Verify Routes

ip route

โœ… Step 4: Confirm Port Accessibility

ss -tulnp

โœ… Step 5: Analyze Packets

tcpdump

This structured approach significantly reduces troubleshooting time.


๐ŸŽค Common Interview Questions

โ“ What is the difference between ping and traceroute?

โœ… Ping checks connectivity and latency.

โœ… Traceroute identifies the route packets take.


โ“ Why is ss preferred over netstat?

โœ… Faster

โœ… More Efficient

โœ… Better for Modern Linux Systems


โ“ What is tcpdump used for?

โœ… Packet Capture

โœ… Security Analysis

โœ… Protocol Troubleshooting


โ“ Which command is best for DNS troubleshooting?

โœ… dig

because it provides the most detailed DNS information.


โ“ How do you check open ports on Linux?

ss -tulnp

or

netstat -tuln


๐ŸŽฏ Final Thoughts

Networking is one of the most critical skills in modern engineering.

Whether you're:

โœ… Managing Linux Servers

โœ… Troubleshooting Cloud Applications

โœ… Operating Kubernetes Clusters

โœ… Building AI-Powered Systems

โœ… Working in DevOps

understanding network behavior is essential.

Commands such as:

โœ”๏ธ ip

โœ”๏ธ ping

โœ”๏ธ traceroute

โœ”๏ธ dig

โœ”๏ธ ss

โœ”๏ธ curl

โœ”๏ธ tcpdump

โœ”๏ธ nmap

provide deep visibility into how systems communicate and where failures occur.

๐Ÿš€ The most effective engineers aren't those who memorize commandsโ€”they're the ones who understand when and why to use them. Mastering these Linux networking tools will dramatically improve your ability to diagnose problems, optimize performance, and maintain reliable production systems.

As infrastructure continues evolving toward cloud-native architectures, distributed computing, and AI-driven platforms, Linux networking expertise remains one of the most valuable technical skills an engineer can possess.

Source: