Linux - NewbieThis 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!
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.
I've got two 'ln' questions I'm hoping you folks can help me with. I'm using mandrake 9.1.
I'm trying to set up some directories using a base set of files from a common directory and some unique config files.
1) I'm getting different results when I link directories manually vs. through a bash script.
When I enter "ln -s ../PRIMARYFILES/admin ." from the command prompt (where admin is a directory), I get what seems to be the correct link in the current directory. I can navigate down into the admin directory using the link. The link is a nice happy blue.
When I enter the same command in a bash script, the link is red and flashing and I can't navigate down into the directory.
I'd like to have the bash script operate the same way as entering it from the command prompt. What do I need to do/what am I doing wrong?
2) I'd like to have both the benefits of a linked directory (file changes in orig. directory and new files added show up in the link) as well as being able to add custom files into the linked directory. Specifically, if I add a new file in the original directory I'd like it to show up in the linked directory (OK so far....). But in the linked directory I'd like to be able to add a unique configuration file that doesn't show up back in the original directory. I'm guessing I can't have my cake and eat it too. Are there any tricks to doing this?