LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-16-2007, 06:59 AM   #1
goku3g
LQ Newbie
 
Registered: Aug 2007
Posts: 2

Rep: Reputation: 0
Unhappy nano-2.0.6 suse linux 10.0 Enterprise..


Hi all,
I have this problem. I am running suse linux 10.0 Enterprise.
I was able to install nano-2.0.6 and as root I am able to use it.

This is where my problem starts.
When I exit root and try to use nano, I get this error message.

nano: Command not found.
but when I type /usr/local/bin/./nano I am able to use it.

and since I am using tcsh shell I made a file called .cshrc and added the following:

setenv EDITOR/usr/local/bin/./nano ( which didn't work )
then I tried this also
setenv EDITOR/usr/local/bin/nano (which also didn't work)

can someone out there help this NEWBIE!!!!!

thanks
 
Old 10-16-2007, 08:06 AM   #2
sjreilly
Member
 
Registered: Oct 2007
Location: Edinburgh, Scotland
Distribution: Debian, CentOS, RHEL, Mint, Ubuntu
Posts: 79

Rep: Reputation: 15
It looks like you don't have /usr/local/bin in your search path.

Do (as user);

which nano

If it comes back not found edit you .cshrc and add

set path = ( $path /usr/local/bin )

Open a new shell and do which nano again.
This time it should be found and you will be able to run it.

BTW the full command would be /usr/local/bin/nano (ie without the additional .)

Steve
 
Old 10-17-2007, 03:31 AM   #3
goku3g
LQ Newbie
 
Registered: Aug 2007
Posts: 2

Original Poster
Rep: Reputation: 0
thanks.... it worked!!!!
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can Nano Editor Run in Suse Linux 9.2 swamprat Linux - Newbie 5 01-15-2007 03:07 AM
SUSE Linux Enterprise Desktop 10 Xswitch SUSE / openSUSE 2 09-22-2006 02:44 AM
SUSE LINUX Enterprise Desktop carl0ski SUSE / openSUSE 16 09-22-2006 01:25 AM
what is differences between SUSE Linux Enterprise Server 10 and SUSE Linux Enterprise samba4010 Linux - Distributions 4 08-28-2006 09:06 AM
SuSE 9.1 Pro or SUSE LINUX Enterprise Server 9? Mega Man X Linux - Distributions 11 09-24-2004 10:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:13 PM.

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