How to find your CPU, Memory, Storage, Model Name and Serial Number on Mac

Hardware:

system_profiler SPHardwareDataType

Software:

system_profiler SPSoftwareDataType

Memory:

system_profiler SPMemoryDataType

Storage:

system_profiler SPStorageDataType

GPU:

system_profiler SPDisplaysDataType

Network:

system_profiler SPNetworkDataType

Available Datatypes:

system_profiler -listDataTypes