# Vertical line in LaTeX [duplicate]

How can I get this vertical line in LaTeX:

|

I dont see a command for it, and if I type | it becomes horizontal.