terminal questions about gethostuuid - The macosxhints Forums - 0 views
-
Robert Ogden on 18 Dec 12Command allows you get the UUID of the machines on your network. Handy when manually adding machines to your workgroup manager. Especially when adding 10.7 machines to your WGM. echo "hostname: `hostname`" system_profiler SPHardwareDataType | awk '/UUID/{sub(/^[ \t]+/, "")}; NR == 17 {print}' echo "--done--"