Nepedia
Back to Discover
Fluent Reader
💻

Backslash

technology Maturity 11-13 Next article →

The backslash is a small typographical mark. It is the mirror image of the common slash.

Teletype Wheatstone Perforator keyboard
Teletype Wheatstone Perforator keyboard

You will mostly find it in math and computing. People use many names for it. Some call it a hack, a whack, or a reverse slash. It is a very useful tool for digital work. It helps computers understand special instructions.

In many coding languages, the backslash works as an escape character. This is a way to change how a computer reads the next mark. For example, a backslash followed by the letter n tells the computer to start a new line. It can also help a computer show a real quote mark.

Mappa Teletype ASR-33
Mappa Teletype ASR-33

If a programmer wants to show a real backslash, they must type two of them. This tells the computer not to treat the second one as a special command.

This mark has a long history in technology. It was first documented in the 1930s. A 1937 manual from the Teletype Corporation shows it on a keyboard. In 1945, Teletype called it a "diagonal key."

Teletype Wheatstone Perforator keyboard
Teletype Wheatstone Perforator keyboard

Later, in 1960, IBM published a standard that included the symbol. In 1961, a man named Bob Bemer proposed using it for math symbols. The committee then added it to the early version of ASCII.

Computers also use the backslash to show file paths. A path is like a map for a file.

Mappa Teletype ASR-33
Mappa Teletype ASR-33

In 1983, MS-DOS 2.0 used the backslash for this job. This was done to keep things working with older versions of the system. Most Windows computers still use the backslash to separate folders in a path. In math, it can also mean integer division. This is a way to divide numbers that rounds the answer toward zero.

Sometimes, the backslash can look different depending on your computer settings. In some Japanese encodings, the code for a backslash shows a yen sign instead.

Teletype Wheatstone Perforator keyboard
Teletype Wheatstone Perforator keyboard

This happens because of how old computer codes were set up. Even when it looks like a yen sign, the computer still treats it as a backslash. This can sometimes cause confusion when people look at filenames. It is a strange quirk of how digital history works.

357 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (2)
File:Teletype Wheatstone Perforator keyboard.jpg
Teletype Wheatstone Perforator keyboard.jpg
File:Mappa Teletype ASR-33.jpg
Mappa Teletype ASR-33.jpg
More to explore

✨ What else?

Related topics you might enjoy

🔬 Go deeper

More advanced topics to explore

🪜 Step back

Simpler topics to build understanding

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.