How to type the character > or < in the console?

  • Posted August 29, 2014

Is there any way to write some special character like > or < in the console? I can’T find a way to do it.

To the question: “Why are you using the console, it’s for emergency access only?” Well, bingo, it IS an emergency and I need to access the droplet from work where it’s simply impossible to run putty behind the highly secured proxy. And I need to type a command at the console with the pipe >> but can’t. :-(

Any hint?



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

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.

What keyboard layout are you using? It’s possible that there is an issue with the droplet defaulting to a US-EN layout, while you’re using something else. Please try runing:

sudo dpkg-reconfigure console-data

Well, if you’re editing a file which has this signs in you could use quotes to specify that the whole string is the filename:

nano "index.php <"