Questions tagged [nano]

nano - open source text editor available on most Linux distributions

Filter by
Sorted by
Tagged with
0 votes
1 answer
4k views

Error opening terminal: unknown when executing nano

I have nano installed on a CentOS 7 VPS. When trying to open a file using nano, such as sudo nano /etc/vsftpd/vsftpd.conf, i get Error opening terminal: unknown. I am using Termius to access my VPS ...
Bowis's user avatar
  • 103
-3 votes
1 answer
26 views

Edit mod_rewrite [closed]

Now, this is a very simple question but I'm new to this topic. To test my website, I'm using a virtual machine (Oracle VM). I'm using ubuntu with apache2. I want to edit mod_rewrite to, of course, ...
Exit Code 1's user avatar
0 votes
1 answer
122 views

Send keys over ssh connection to nano editor

I have a situation where I am deleting the crontab and then recreate it. So I do crontab -r and then crontab -e. The problem I have is that crontab -e opens up nano, and I'd like a command line that ...
IonutN's user avatar
  • 1
2 votes
0 answers
422 views

editing files with nano adds a bytemark to the file which nginx prints to the client

When we have to edit php files on the webserver, sometimes our website prints out part of what i think is a bytemark to "lock" the file from nano. On the website, it then adds weird strings ...
radonthetyrant's user avatar
1 vote
1 answer
645 views

When root opens crontab Vim is used although Nano is set as the default editor. Why might this be?

Environment: CentOS 8 Question: When I enter sudo crontab -e it opens in Vim. However Nano is set as the default editor and for every other type of file it is used as expected. Why might this be? ...
myNewAccount's user avatar
8 votes
5 answers
3k views

How can I get latest version of nano (4.5) on CentOS 7?

The latest version of the nano editor is 4.5 (https://www.nano-editor.org/)... I'm running 2.3.1 on my CentOS 7 server and want to upgrade. But no repos (EPEL, Remi, etc.) seem to have anything newer ...
Eric's user avatar
  • 1,137
6 votes
1 answer
1k views

nano very slow over ssh

Recently nano has started to be very slow when editing files over ssh. It's particularly slow when editing large files with syntax highlighting. It's most noticeable when yanking lines. There can ...
Jordan Reiter's user avatar