TuxRadar: "Nano supports syntax highlighting. Nano supports text justification. And yet, Nano is so much easier than Emacs or Vim. Discover the hidden power of this versatile command line text editor"
on 06/23/2010 – Made popular on 06/23/2010
i am using thinstation 2.2.2d and built nano editor after embed and build run thinstation ,the nano editor is not run the following error displays
Error opening terminal :xterm
help what i was wrong, i want to rum nano in thinstation platform
My favorite editor is vim, but some others prefer nano, or emacs, nano reminds me WordStar, anyway.
Cron job default editor which is invoqued by the command crontab -e is vi, while I prefer vim, and you may prefer nano, you can use this command.
env EDITOR=nano crontab -e
or as I usually do:
env EDITOR=vim crontab -e
nano has a useful bit of syntax highlighting that actually highlights whitespace (tabs and spaces), under two conditions: (1) the whitespace does not have a non-whitespace character between either the last character or the beginning of the line and it, and (2) that the file is source code and not plain, plain text (as in a shopping list). How can I emulate this kind of behavior in vim?
i tried following command (nano ~/.bashrc) in order to include some path in .bashrc file in home directory but m not able to run any command and always getting following error
rag@rag-Satellite-C640:~$ nano ~/.bashrc
Command 'nano' is available in the following places
The command could not be located because '/usr/bin:/bin' is not included in the PATH environment var
I am using nano editor for the first time. I know that CTRL + K will delete an entire line. But I am unable to understand how to delete a selected portion (selected using mouse) of the the text. is there any special command for the same?
I am using this under Ubuntu 12.04
Just a short Tutorial today. It’s surprising how many people do not know this. To change the hostname under Linux, open a terminal window. Type the following code.
sudo nano /etc/hosts
and change the text to your new hostname. Changes will take effect on Restart.
Well, the 'standard' Ubuntu text editor gEdit has a bug that prevents it from opening some (many?) files and, IMHO, gEdit has gotten too complex for its own good anyway. However, there is a simple terminal-based editor, Nano, that is part of the Ubuntu distribution that seems to be a good alternative for simple file viewing and editing.