From bb89f4ca3bab26555ec60e21b7bf524a28aa8d00 Mon Sep 17 00:00:00 2001 From: aibangjuxin Date: Tue, 12 Jan 2021 14:06:06 +0800 Subject: [PATCH] Created SC2181 Check exit code directly with e.g (markdown) --- SC2181----Check-exit-code-directly-with-e.g.md | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 SC2181----Check-exit-code-directly-with-e.g.md diff --git a/SC2181----Check-exit-code-directly-with-e.g.md b/SC2181----Check-exit-code-directly-with-e.g.md new file mode 100644 index 0000000..f55d6f0 --- /dev/null +++ b/SC2181----Check-exit-code-directly-with-e.g.md @@ -0,0 +1,2 @@ +/usr/sbin/lsof -i tcp:7070 +if [ $? = 0 ] \ No newline at end of file