Well, in normal, he did not get any money when he first developed Linux. But in another way, he got too much.
It's like you make open source software and public it for the world for free, you didn't get money for it but you gain coding experience, people look at your code and know who you're, how good are you, and maybe they would hire you for a freelance or full time job when their company need a good developer.
If not, you have to introduce yourself in another (hard) way. That's why social coding like GitHub and SourceForce are the great way many companies looking for programmer.