#!/bin/bash
RED='\033[0;31m'
NC='\033[0m' # No Color
echo -e "${RED}====uanme====${NC}"
uname -a
for info in cpuinfo meminfo devices interrupts dma filesystems ioports
do
echo -e "${RED}===='$info'=====${NC}"
cat /proc/$info
done
echo -e "${RED}====lsmod====${NC}"
lsmod
沒有留言:
發佈留言