terminal questions about gethostuuid - The macosxhints Forums - 0 views
-
echo "hostname: `hostname`" system_profiler SPHardwareDataType | awk '/UUID/{sub(/^[ \t]+/, "")}; NR == 17 {print}' echo "--done--"
-
n C), not a command (for use in Bash).