Where is the " | " key on the keyboard!

March 24, 2017 287 views
System Tools Ubuntu 16.04

Greetings Everyone!
So I know most replied will be the it is located about your enter key as I know that, but whenever I do Shift + \ ( BackSlash ) but the result isn't | 'it shows ~ is there anyway and I have connected this to my Samsung Phone as my pc isn't working! If there is any way to fix or do this please help as I have to install nodesource on my droplet!


Kind Regards,
/shar

1 Answer

@sharletsings123

I've never had any issues with SHIFT + \ no showing up as |. It could be language-specific if you are using anything other than a US/English keyboard layout, though it's pretty generic, and I wouldn't see any reason for it showing up as ~ instead.

You can copy and paste to terminal, unless you're using DigitalOcean's Console, which doesn't seem to allow pasting. If you are, I would recommend using Terminal on a Mac or PuTTy on Windows as an alternative.

You can copy and paste in terminal, or simply highlight/select to copy and right click to past if you are using PuTTy. That way you can simply copy the installer command, paste to terminal, and hit enter.

Depending on which version you want to install, copy/paste command would be:

7.x

curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash - && sudo apt-get install -y nodejs

6.x

curl -sL https://deb.nodesource.com/setup_6x | sudo -E bash - && sudo apt-get install -y nodejs

5.x

curl -sL https://deb.nodesource.com/setup_5x | sudo -E bash - && sudo apt-get install -y nodejs
Have another answer? Share your knowledge.