From 410f56f2bdd420aa0deaf6e25197747bb160fd05 Mon Sep 17 00:00:00 2001 From: zeus Date: Sat, 22 Aug 2020 15:34:35 +0300 Subject: [PATCH] answer --- index_test | 29 ----------------------------- test/0_netstat/codeanswer | 2 ++ test/0_netstat/q-info | 4 ++++ 3 files changed, 6 insertions(+), 29 deletions(-) delete mode 100644 index_test diff --git a/index_test b/index_test deleted file mode 100644 index fe62ded..0000000 --- a/index_test +++ /dev/null @@ -1,29 +0,0 @@ ---- # Programming language - name: "test" - author: "zeus" - intro: "netstat is available on all Unix-like Operating Systems and also available on Windows OS as well. It is very useful in terms of network troubleshooting and performance measurement. netstat is one of the most basic network service debugging tools, telling you what ports are open and whether any programs are listening on ports. - -This tool is very important and much useful for Linux network administrators as well as system administrators to monitor and troubleshoot their network-related problems and determine network traffic performance. This article shows usages of netstat command with their examples which may be useful in daily operation. -" - 0_netstat: - display_name: "netstat" - swarmlabservice: "os2" - info: - file: "0_netstat/info" - code: - lang: "bash" - exec: "/bin/bash" - file: "0_netstat/code" - options: "options" - mimetype: "bash" - output: - log: "ascii" - mimetype: "bash" - challenge: - question: "0_netstat/q-info" - codehelp: "0_netstat/codehelp" - codeanswer: "0_netstat/codeanswer" - mimetype: "bash" - points: "1" # ELO - output: - log: "ascii" diff --git a/test/0_netstat/codeanswer b/test/0_netstat/codeanswer index e69de29..329993e 100644 --- a/test/0_netstat/codeanswer +++ b/test/0_netstat/codeanswer @@ -0,0 +1,2 @@ +netstat -l +netstat -s diff --git a/test/0_netstat/q-info b/test/0_netstat/q-info index e69de29..0cd3fdd 100644 --- a/test/0_netstat/q-info +++ b/test/0_netstat/q-info @@ -0,0 +1,4 @@ +*List* + +- all LISTENING Connections +- Showing Statistics by Protocol