1. How to obtain the number of CPUscores in Linux from the command line

    How to obtain the number of CPUscores in Linux from the command line