Find the answer to your Linux question:
Results 1 to 6 of 6
hi all, i have a keyboard that doesn't have a pipe symbol "|", is there a way to use alias to replace the symbol with a word? i tried alias ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2013
    Posts
    3

    pipe symbol replacement


    hi all,
    i have a keyboard that doesn't have a pipe symbol "|", is there a way to use alias to replace the symbol with a word?
    i tried
    alias pipe="|"
    but when i tried it the command took "pipe" as an argument
    any ideas?

  2. #2
    Linux Engineer
    Join Date
    Apr 2012
    Location
    Virginia, USA
    Posts
    917
    you could try alt+0124
    I'm only able to get this to work in a tty, not a terminal window.

  3. #3
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,445
    Or maybe just get a cheap keyboard with a pipe key.
    You must always face the curtain with a bow.

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Mar 2013
    Posts
    3
    Quote Originally Posted by mizzle View Post
    you could try alt+0124
    I'm only able to get this to work in a tty, not a terminal window.
    tried it, but didn't work, but thanks

  6. #5
    Just Joined!
    Join Date
    Mar 2013
    Posts
    3
    Quote Originally Posted by Irithori View Post
    Or maybe just get a cheap keyboard with a pipe key.
    bought a leather BT case to my old P1000 Samaung galaxy tab so i could use it as a remote terminal when i am on the rode,
    and if I'll buy a new one there is no guarantee the pipe symbol will be there.

  7. #6
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,755
    I find it difficult to believe that a normal PC or laptop/netbook keyboard would not have the ability to input an '|' symbol. It is essential for any programming tasks, or Linux command line processing. You should be able to reconfigure your keyboard with the X-windows / Xorg preferences so that some other key can be programmed to output the '!' symbol.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •