Question

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

  • Posted on August 29, 2014
  • kinwolfAsked by kinwolf

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?

Thanks


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.

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 <"