Linux - SoftwareThis 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.
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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
That looks OK. I don't know why you were getting the permission denied message. Maybe I misunderstood your question. Are you trying to add a directory to your PATH by changing your PATH permanently in /.bashrc?
Use whatever editor you want if you don't use vim and don't paste the output of the editor if it loads, even if it doesn't (clear the|use the alternate) screen, of course. But do post any error messages.
If it's owned by you and you have the 'rw' perms, you should be able to read/write it.
That's supposed to be 'head -1'. Then the editor itself, if head shows you a line. In the meantime, you can just 'export PATH=$PATH:/path/you/want' from the command line and, as long as you don't exit that shell, you'll have that path.
Incidentally, few people would know what 'NS2-allain one-2.32' is (including myself) but I noticed elsewhere you were actually running on Cygwin. That kind of information can be important. Since you are, you can always try opening it in edit (in a dos box) or notepad. If you have a decent editor that won't screw up the line endings, you can even edit it in Windows. And make sure the program wants a Cygwin path vs. a Window path.
sorry for typo
now when i type this following message come
$head -1 ~/.bashrc
i am working on fedora core 6.by specifying the path in command line its working fine.but i want to save it in bashrc file.how can i change it.
i was experimenting it to install NS2 on windows using cygwin.
but the problem i wrote is of linux...
Best thing is to go into your home dir and edit the file using eg vim:
or whichever editor you prefer.
My current work system doesn't have it, but iirc, PATH is usually set in the .bash_profile file.
Can't check my home system from here.