Wrong: [lin-] as in “line”
Correct: [lin-] rhyming with “tin”
The [-ux] part is less controversial. As Linus Trovalds himself explains here in this video, there should be no doubt after this.
It’s a pity that after so many years, I still come across people who still pronounce it wrong.