Linux Networking
IPs, listening ports, DNS, and quick connectivity checks.
- linux network
- ss ports
- dig dns
- curl check
- ip addr
Linux Networking
IPs, listening ports, DNS, and quick connectivity checks.
Commands
| Command | What it does |
|---|---|
ip -br addr | Interfaces and IPs, compact |
ss -tlnp | Listening TCP ports and owners |
ping -c3 example.com | Basic reachability |
dig +short example.com | DNS resolution |
curl -sSI https://example.com | TLS plus headers check |
Example
ip -br addr
ss -tlnp | grep 8080
dig +short api.example.com
FAQ
Port in use - who owns it?
ss with process flags shows the PID; stop it or bind your app elsewhere.
DNS works but curl hangs?
Likely a firewall issue: try a short connect timeout and check security groups.
คำถามที่พบบ่อย
Port in use - who owns it?
ss with process flags shows the PID; stop it or bind your app elsewhere.
DNS works but curl hangs?
Likely a firewall issue: try a short connect timeout and check security groups.
Linux
Linux Files and Directories
Navigate, create, move, and inspect files with core commands.
Linux Permissions
Read ls output, chmod, chown, and sudo without breaking access.
Linux Text Processing
cat, head, cut, sort, uniq, and awk for daily data shaping.
Linux grep and find
Find files by name, age, and size; search inside them fast.