Ubuntu Pipe ("|") not working

For some reason the “|” (pipe) doesn’t works in the console. I’m using Microsoft Edge because Chrome doesn’t load the console properly. Any ideas on how to fix or I doing something wrong?

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

The last message on this was last year from StefanMueller83, so I thought you might want to know of my more recent experience:

Using the latest version of Linux on my LAMP stack droplet (18.04) led to the Pipe Key error (|). While it worked fine for my ssh terminal, using the DO console window the Pipe Key produced (>).

After messing around FOREVER with the keyboard layout, I found an article which discusses the glitch ( Apparently, the systemd v240 has this glitch and it requires a workaround, or system maintainers to update.

To solve the issue, I reverted my droplet to Ubuntu 16.04, for my production droplet, but will continue to watch for fixes on my build droplets.


Came across the same issue. Very annoying if you use one of the pipe characters in a password. It appears the console is deliberately filtering out pipe characters (<>|).

On a Windows desktop machine you can used the keypad to work around the issue.

Make sure NumLock is on. Press and hold the Alt key. On the keypad (NOT the numbers on the qwerty section) enter the following for each character required.

< 060 > 062 | 0124

The leading zero is optional but good practice to use as it’s needed for higher value characters (> 128)

How to figure out the right keyboard configuration? It is driving me nuts my keyboard