From 2a51bc1879158318bd7737f77454606dc3267706 Mon Sep 17 00:00:00 2001 From: newrain001 Date: Thu, 22 Feb 2024 20:45:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'os/status.sh'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- os/status.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/os/status.sh b/os/status.sh index dbe2216..4a39e85 100644 --- a/os/status.sh +++ b/os/status.sh @@ -43,10 +43,14 @@ function selinux() { } # 执行函数并直接使用其输出 +clear +echo "===============================系统检测中==============================" +echo "=======================================================================" echo "当前时间: [ $(date '+%F %X') ]" echo "网络地址: [ $(ip -4 a show dev ens33 | awk 'NR==2{print $2}') ]" echo -n "网络连接: "; network echo -n "远程连接: "; ssh_service echo -n "防火墙: "; firewall echo -n "SELinux: "; selinux +echo "======================================================================="