6 lines
162 B
Bash
Executable File
6 lines
162 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Detect whether the computer has an Intel CPU.
|
|
|
|
[[ $(grep -m1 "vendor_id" /proc/cpuinfo 2>/dev/null | cut -d: -f2 | tr -d ' ') == "GenuineIntel" ]]
|