diff --git a/show-cpu.sh b/show-cpu.sh new file mode 100755 index 00000000..f0535272 --- /dev/null +++ b/show-cpu.sh @@ -0,0 +1,3 @@ +#!/bin/bash + + awk '/MHz/ {sum+=$4; count++} END {print sum/count " MHz"}' /proc/cpuinfo