I want to install a relatively huge package on my Ubuntu 13.10 and I want to use all of the processing cores of my machine. I type
make -j N
N is the number of available cores+1, I guess. But the problem is that I don't know how many cores do I have. How can I figure it out in Ubuntu?