The slash is the oblique slanting line punctuation mark /. It is also known as a stroke, a solidus, a forward slash and several other historical or technical names. Once used to mark periods and commas, the slash is now used to represent division and fractions, exclusive 'or' and inclusive 'or', and as a date separator.
Sign in Kisoro with prices in Ugandan shillings; note the use of the '/=' notation.
The vertical bar, |, is a glyph with various uses in mathematics, computing, and typography. It has many names, often related to particular meanings: Sheffer stroke, pipe, bar, or, vbar, and others.
US International keyboard showing broken bar on the keycap, even though pressing ⇧ Shift+\ produces the solid vertical bar.