[Tex/LaTex] Adding line numbers to an IEEE Latex document

line-numbering

I would like to add line numbers to an IEEE paper style.
I have tried using different approaches, however non was successful. For example, when using \usepackage[switch,columnwise]{lineno} there will be line numbers missing when I have equations.

I have produced a sample latex file, could anyone help how to add line numbers to this document.

Thanks

\documentclass[journal,onecolumn,12pt]{IEEEtran}
\usepackage{amsmath}
\usepackage[switch,columnwise]{lineno}
\begin{document}
\linenumbers
\title{\huge LINE NUMBER TEST}
\author{FIRST~LAST,~\IEEEmembership{Member}
\thanks{FIRST LAST, IS WITH INSTITUTE OF TEST (e-mail: TEST@TEST.COM).} }
\markboth{JOURNAL OF TEST}%
{Shell \MakeLowercase{\textit{et al.}}: Bare Demo of IEEEtran.cls for Journals}
\maketitle
\begin{abstract}
This is for testing the appearance of line number. This is for testing the appearance of line number. 
\end{abstract}
\section{Introduction}
\IEEEPARstart{L}{line} number (LN) in draft paper is a good option to locate exactly where you want. It helps you to find specific information in short time. Line number in draft paper is a good option to locate exactly where you want. It helps you to find specific information in short time. Line number in draft paper is a good option to locate exactly where you want. It helps you to find specific information in short time.
\begin{align*}
z_{1}&=x_{1}+y_{1}\\
z_{2}&=x_{2}+y_{2}
\end{align*}
Line number in draft paper is a good option to locate exactly where you want. It helps you to find specific information in short time. Line number in draft paper is a good option to locate exactly where you want. It helps you to find specific information in short time.
\newpage
Line number in draft paper is a good option to locate exactly where you want. It helps you to find specific information in short time. Line number in draft paper is a good option to locate exactly where you want. It helps you to find specific information in short time.
\end{document}

Best Answer

IEEE's peerreview option doesn't seem to work with two-column option. In which case, the lineno package would do the trick.

\documentclass[twocolumn, journal]{IEEEtran}

\usepackage[switch]{lineno}
...
...

\begin{document}
\linenumbers
...
...
\end{document}

The switch option prints the line numbers on the left margin of the left column, and on the right margin of the right column.

(Credits for Mico's post for the solution)