Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Perhaps you did not read the entire post? Some keyboards on laptops in particular Older Toshiba and some Asus models do not give you the pipe. Instead when you hit SHIFT + \ you get a > instead of a |
When this happens you can mess with all the key combos you want to try, you will not get the pipe. You have to remap the keys to get it to work correctly.
Just FYI Bob...
Click here to see the post LQ members have rated as the most helpful post in this thread.
Please indicate clearly when you are reopening old threads. People often don't notice that the conversation is long dead, and may respond to people who aren't even around any more. And only post at all if you have something important to add to it, like corrections or updated information.
As often seems to happen though, I can take this opportunity to add something substantial of my own to the topic. A universal way to input the pipe character (along with many others) is with the x-windows multi-key system. My compose file shows it as being created with <multi><v><l> (or lv,VL,LV) and <multi><slash><ascicircum> and its reverse (/^,^/).
Mr. New, where are you located geographically, or better yet do you now realize that the | is a pipe symbol which you've derived from shift+\? Or, have you tried this and found that it doesn't work, even though it looked acceptable on the screen?
I was having a problem with the pipe symbol so I did a google search and this thread was right at the top. Actually turns out I had my keyboard mapped to a US layout rather than a UK layout; you'd think the british pound and euro signs on the keys would have tipped me off! A lot of the laptops we're using in this part of the world (Kenya, and Africa in general) include lots of ex-UK second-hand laptops so the wrong keyboard mappings can be a problem. Though, I suspect, that wasn't the problem markw8500 was talking about when he posted 8 years ago (wow!)
Last edited by tux_addict; 10-02-2013 at 09:46 AM.
If nothing works and you even cant paste the symbol, try:
wget https://en.wikipedia.org/wiki/Vertical_bar -q -O ./pipe && cat ./pipe | grep "<p>The <b>vertical bar</b>" && rm -rf ./pipe
it should output pipe symbol among others or this:
If nothing works and you even cant paste the symbol, try:
wget https://en.wikipedia.org/wiki/Vertical_bar -q -O ./pipe && cat ./pipe | grep "<p>The <b>vertical bar</b>" && rm -rf ./pipe
The combination of SHIFT + backslash and bar (or pipe) keys (\ to |) will for some reason produce < and > symbols, which really confused me to no end.
Are you sure you have the right keymap for your physical keyboard? If you have a UK keyboard but haven't told Linux to use it, you'll get the US map by default. This interprets shift+\ as the @ sign. I think the pipe symbol in this case is shift+#.
Remember too that X has its own keymap; it doesn't use the same one as the console. I set the UK keymap for X in /etc/X11/xorg.conf.d rather than fiddling about with xmodmap.
btw: my keyboard shows a broken pipe in the leftmost key of the numeric row but when I invoke it with AltGr, I get a normal pipe.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.