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.
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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I want to have the contents of two folders appear in one other folder. I think I'll have to just create a script that will manually create symbolic links from both folders into the 3rd and over-right any pre-existing sl's.
Have two links, one for /proc and one for /var/log.
Why would you want to mix up the contents of those two directories like that. What happens if there is a file in /proc that has the same name as a file in /var/log?
The point that dombrowsky and phil.d.g made is relevant. To illustrate, suppose you have a file named README.txt in /var/log and you also have a totally different file that also happens to be named README.txt in /proc
Now, if the /home/jo/symlink directory contained softlinks to all files in both directories, how would the system handle the fact that the "README.txt" softlink needs to simultaneously point to two different files in two different directories? Similarly, if you tried to open "README.txt", would you be reading the contents of the file in /var/log, or the file in /proc? As they have stated before, I also would recommend using two sets of links.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.