Report this

What is the reason for this report?

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

Posted on 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?

Thanks



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!

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.

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

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.