LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 08-10-2006, 09:39 PM   #1
kniwor
Member
 
Registered: Aug 2005
Distribution: Slackware 12
Posts: 106

Rep: Reputation: 15
noob question, installing nedit


ok, i was trying to install nedit and got the binary , extracted and kept the files "nedit" and "nc" in the /usr/local/bin folder.

now it is installed for root, and root can use the nedit command, but not other users, i tried with permissions n all but no help, but if u got in the /usr/local/bin/ and then run the file "./nedit" it works, for all users, help here.
 
Old 08-10-2006, 10:15 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,805

Rep: Reputation: 324Reputation: 324Reputation: 324Reputation: 324
If it runs for all users when they cd into /usr/local/bin and run ./nedit, then all you need to do is add an alias to each users .bashrc, or make it global by adding it to /etc/bashrc (though you could loose the alias after a system update if bashrc is updated, whereas the individual .bashrc isn't toughed by such an update).

Add this to the alias section of your ~/.bashrc: alias nedit="/usr/local/bin/netit".
 
Old 08-12-2006, 05:54 AM   #3
kniwor
Member
 
Registered: Aug 2005
Distribution: Slackware 12
Posts: 106

Original Poster
Rep: Reputation: 15
thanks a lot, that helped
 
  


Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
noob with a noob question phoonerorlater Linux - Newbie 2 09-29-2004 04:43 PM
NEdit macros theonebeyond Linux - Software 0 09-10-2004 03:59 AM
Unresponsive hotkeys in Nedit Abdul Linux - Software 1 01-22-2004 02:18 PM
Installing linux, Noob question here rogan999 Linux - Newbie 5 01-08-2004 11:27 PM
Complete noob question from a noob noob_hampster Linux - Software 2 09-04-2003 01:03 AM


All times are GMT -5. The time now is 01:51 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration