Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
03-01-2007, 02:18 AM
|
#1
|
|
LQ Newbie
Registered: Mar 2007
Posts: 1
Rep:
|
$ gedit.bashrc &-"COMMAND NOT FOUND"
When i follow this step to install ns2.29.2 on my SSH client "Configure your .bashrc file in the home directory to use NS-2.
.bashrc is a configuration file for bash where rc stands for “run commands”
$ cd ~ or cd /home/ns2userName
$ gedit .bashrc &"The response i get is" -bash: gedit.bashrc: command not found"
Please help!
|
|
|
|
03-01-2007, 02:59 AM
|
#2
|
|
Guru
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019
Rep: 
|
Why don't you try gedit /home/username/.bashrc? That should work.
Btw, what does the ampersand after bashrc stand for? Try leaving that out and gedit .bashrc should work. Also, you need to be root to manipulate bashrc.
Last edited by jay73; 03-01-2007 at 03:04 AM.
|
|
|
|
03-01-2007, 04:14 AM
|
#3
|
|
Senior Member
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,843
Rep: 
|
Quote:
|
Originally Posted by aabhardadhich
The response i get is " -bash: gedit.bashrc: command not found"
|
It looks like you typed the command without a space between gedit and .bashrc: try with a space.
|
|
|
|
03-01-2007, 05:12 AM
|
#4
|
|
Guru
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019
Rep: 
|
Come to think of it, are you sure gedit is installed at all? It is by default on some distributions, on other ones you need to do it yourself.
|
|
|
|
03-01-2007, 05:31 AM
|
#5
|
|
Senior Member
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,843
Rep: 
|
Quote:
|
Originally Posted by jay73
Btw, what does the ampersand after bashrc stand for?
|
The ampersand would open the gedit window in the background, allowing you to continue using the shell without having to quit gedit.
Quote:
|
Originally Posted by jay73
Also, you need to be root to manipulate bashrc.
|
If the file is in you home directory, then you, the user, can edit it; no need to be root. Root would edit the global bashrc found in /etc.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 02:44 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|