GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Bash_Shell_Scripting_notes/1.Document-httpd-info.sh at master · surendra1453/Bash_Shell_Scripting_notes Expand file tree/ Copy path1.Document-httpd-info.shMore file actions 7 lines (7 loc) · 361 Bytes / Copy path1.Document-httpd-info.shFile metadata and controls7 lines (7 loc) · 361 Bytes 1 2 3 4 5 6 7 #!/bin/bash httpd_v=$(httpd -v 2>&1 | awk -F '/' 'NR==1{print $2}' | awk '{print $1}') httpd_s=$(systemctl status httpd | grep Active | awk '{print $2}') httpd_p=$(cat /etc/httpd/conf/httpd.conf | grep ^Listen | awk '{print $2}') echo "The httpd version is: $httpd_v" echo "The current status of httpd is: $httpd_s" echo "The port for httpd is: $httpd_p" |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |