LINUXOPOLIS ( 2019-08-10 ) ~ Check
CHECK
A short summary of building a personal Linux environment.Published with SteemPeak
#!/bin/bash
# check help kernel cpu disk hardware host network
# Wrapper for neofetch inxi, nmap, vnstat, lshw and ip
# Version 3
clear
neofetch
while [ -n "$1" ]
do
case "$1" in
"help")
echo
head -n4 "$0"
echo
;;
"kernel")
echo -n "Kernel Release: "; uname -r
echo -n "Kernel Version: "; uname -v
echo
;;
"cpu")
echo
inxi -f
echo
;;
"disk")
echo
inxi -Dp
echo
;;
"hardware")
echo
sudo lshw -short
echo
;;
"host")
echo
inxi -v2
sudo lshw -short
echo
;;
"network")
echo
inxi -i
echo
nmap --iflist
echo
ip neigh
echo
vnstat
echo
;;
esac
shift
done
exit
Sources $ man neofetch inxi nmap vnstat ip lshw
$ man echo head
This post had received 5.00% upvote from @steemitportugal account!
Vote for @steemitportugal to Witness. Your vote is very important to us!
Visit our WebSite www.steemitportugal.com (tutorials,news...)
Thank you very much.
Click here to vote
Delegation for daily voting: 10SP-25SP-50SP-100SP-250SP-500SP-1000SP