Does \(y=\frac{x^2}{x}\) count as linear? It is the same as \(y=x\) except for when x=0.
It will be linear except at x = 0.....where it is undefined