Commit 295d62f3 by irul

Menambahkan informasi default gateway

1 parent dd5fd5d3
......@@ -23,6 +23,7 @@ echo -e "Operating System: "`cat /etc/*release | grep PRETTY_NAME | cut -d "=" -
echo -e "Using Systemd: "`pidof systemd && echo "True" || echo "False"`
echo -e "Hostname: "`hostname`
echo -e "Server IP: "`hostname -I`
echo -e "Default Gateway: "`ip route show | sed 's/\(\S\+\s\+\)\?default via \(\S\+\).*/\2/p; d'`
echo -e "Uptime: "`uptime | awk '{print $3,$4}' | sed 's/,//'`
echo ""
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!