File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -271,7 +271,7 @@ unset mem cpu ncpu
271
271
272
272
hostnamectl 2> /dev/null || lsb_release -a 2> /dev/null
273
273
# || cat /etc/banner 2>/dev/null
274
- source /etc/os- release 2> /dev/null && echo " Pretty Name: ${PRETTY_NAME} "
274
+ ( source /etc/* release 2> /dev/null; [ -n " $PRETTY_NAME " ] && echo " Pretty Name: ${PRETTY_NAME} " )
275
275
echo " Date : $( date) "
276
276
command -v uptime > /dev/null && {
277
277
str=$( uptime | sed -e ' s/^[ \t]*//' )
409
409
netstat -in 2> /dev/null
410
410
}
411
411
echo -e " ${CB} >>>>> ARP table${CN} "
412
- { command -v arp > /dev/null && arp -an 2> /dev/null || cat /proc/net/arp; } | COL
412
+ { arp -an | grep -iv ' incomplete ' || cat /proc/net/arp || ip neigh show | grep -iv ' FAILED ' ; } 2> /dev/null | COL
413
413
fi
414
414
415
415
command -v netstat > /dev/null && {
You can’t perform that action at this time.
0 commit comments