Linux is not a single program. There is the Linux kernel, which is written in C, then the applications that run on the kernel, which are probably C for the most part, but run the gamut of C++,
Java, Perl, Python and on and on. You'd be best off deciding what you want to do, say web applications, and focusing on the languages used for that niche, like Java, JavaScript, DHTML and the like.