Access 'About this Mac' before creating a user [duplicate]

Use sysctl command to get the CPU brand string.

% sysctl -n machdep.cpu.brand_string
machdep.cpu.brand_string: Intel(R) Core(TM) i7-700K CPU @ 4.20GHz