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.
Hi guys. I have a /data and /backup. on backup there is a folder called Info that has a bunch of data on it, but its not shared through Samba. So what I'm thinking is that on one of my Samba shares on data there is a folder which is really just a link to that /backup/Info folder. Is there an easy way to search through /data to see if there's a link to it, or do i have to manually go through and do a ton of ls's?
find is a notoriously difficult command to master and its man page is not an easy introduction (although it is an impeccably correct reference). As a result there are lots of web pages about using find but I have not yet found one which explains how find works. Mostly they just give HOWTO examples of common tasks which is fine until you want to do something different and need to master find to use its immense power and flexibility.
You mentioned samba but that's for mounting Linux file systems on Windows in which case symlinks are meaningless on the Windows system. Do we need to know about your samba setup to understand the problem or is the problem within a Linux environment and just happens to be about a file system which is shared by samba?
My problem is that nobody can tell me anything about that Info folder I have. So I was taking a guess and thinking that maybe there was a folder on one of my Samaba shares on /data which people dropped files into, but it was really a link putting the files in /backup/Info instead, maybe to save space on /data.
If I do a ls in every single directory under /data that is shared out through samba I could see this probably, but that would take me hours of manual work.
Do you mean that /data is shared via Samba and that client systems (probably Windows) users are putting files in a directory on the share which directory is actually a symlink to /backup/Info so the files end up in /backup/Info?
So what you want to do is find symlinks on /data that point to /backup/Info? If that is correct then Samba is irrelevant to the question. Or have I not understood yet?