0
votes
2answers
43 views

How to find a keyword in “nano” editor in Ubuntu?

I am trying to find some keywords in a configuration file which is opened by nano editor, So can anyone help me to find keywords in this editor? Thank You.
0
votes
1answer
360 views

How to set nano default syntax highlighting for files with no extension?

I'm trying to set a 'default' syntax highlighting scheme for nano when I'm editing files with no extension such as /etc/nginx/sites-available/default or /etc/ssh/sshd_config but I can't seem to make ...
0
votes
3answers
133 views

making nano always run as sudo by default

my problem is that i keep forgetting to write sudo before every time i use nano, and eventually what happens is i work on a file for a while and don't have permissions. i remember hearing somewhere ...
1
vote
1answer
44 views

How to jump into the needed lines in a document using nano?

I want to jump through lines faster in ubuntu 12.04 server. For example my errorlog shows me an error in line 514, how can I jump to the line directly using nano or pico ? If it's not possible, how to ...