From 24060ca99d3fc77c0f6abb991fae544f1570d301 Mon Sep 17 00:00:00 2001 From: Ivan <50071699+ivanbaluta@users.noreply.github.com> Date: Sat, 27 Sep 2025 20:06:23 +0700 Subject: [PATCH] ss: use placeholders in kill example for safety (#18249) --- pages/linux/ss.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/linux/ss.md b/pages/linux/ss.md index 1cb131b686..39fc2ed5e2 100644 --- a/pages/linux/ss.md +++ b/pages/linux/ss.md @@ -31,6 +31,6 @@ `ss {{[-4t|--ipv4 --tcp]}} src {{192.168/16}}` -- Kill IPv4 or IPv6 Socket Connection with destination IP 192.168.1.17 and destination port 8080: +- Kill IPv4 or IPv6 Socket Connection with a specific destination IP and port: -`ss {{[-K|--kill]}} dst {{192.168.1.17}} dport = {{8080}}` +`ss {{[-K|--kill]}} dst {{ip_address}} dport = {{port}}`