Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 06-27-2005, 01:55 PM   #1
LQ Newbie
Registered: Jun 2005
Posts: 29

Rep: Reputation: 15
nano editor not working

Hi I am a newbie to linux, and i've recently installed gentoo linux on my system. I dont know whats happen but nano editor doesnt seem to be working. It was before, but now when i use the commnad :
nano -w <the file i want to edit>
it just gives me 'illegal instruction' for some reason. Is there anything I can do to get it back?

Old 06-27-2005, 03:09 PM   #2
Mega Man X
LQ Guru
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 64
Try removing(or moving) the files where nano stores it's settings to see if that fix it:

rm -rf .nano_history
rm -rf .nanorc

you should have another nanorc(original) file at your /usr/share/man/man5/nanorc.5.gz. You can copy it from there to your home in the case you need nanorc (which you most likely do ^_^)

Good luck!
Old 06-27-2005, 03:40 PM   #3
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 122Reputation: 122
Failing that, try reinstalling with 'emerge --oneshot nano'.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
nano hostmark101 Linux - Newbie 8 08-12-2005 07:53 PM
Nano editor just stop working FlashAsh99 Linux - Newbie 4 06-27-2005 06:54 PM
nano -w /etc/hosts bobotoes Linux - Newbie 5 10-04-2004 02:49 PM
nano using >99% of CPU!!! oudent Linux - Software 4 06-23-2004 12:41 AM
pico nano shania Linux - Newbie 2 10-30-2003 01:27 PM

All times are GMT -5. The time now is 06:28 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration