Tagged Questions
0
votes
0answers
154 views
Multiple Linux or Unix Distributions, Same Home Partition or Data?
To avoid conflicts I have always installed multiple Linux and Unix distributions each with it's own home partion or directory, and in the era of 3TB hard drives this is often very practical; I also do ...
3
votes
1answer
115 views
Can we use symbolic link and hard link for directories?
I know we can do that for files. What about directories?
It seems that cpanel uses that a lot.
3
votes
3answers
158 views
How to diff two folders by inodes
I'm currently using a script to backup files on my computer.
In a nutshell, it works like this:
rsync --link-dest=$FOLDER/current $SOURCE $DESTINATION
However, I think that my script may be ...
1
vote
1answer
137 views
How to get a list all the “aliases” of a file (including of type directory) efficiently?
How can one get the list of all the aliases of a file (including of type directory) efficiently, given that a file:
may have multiple hard links, multipe soft links, multi-level soft links
may be ...
4
votes
1answer
268 views
How to replace a symbolic link with an equivalent hard link?
Having a (single, no batch filesystem processing needed) symlink, what a command line to use to turn it into a hard link to the same file?
0
votes
0answers
102 views
Purpose of hard link and soft link [duplicate]
Possible Duplicate:
What is the difference between symbolic and hard links?
I've read quite a few articles regarding hard links and soft links, but I still dont understand the purpose of ...
2
votes
0answers
84 views
Hard links vs. Soft links: When would you want to use one over the other? [duplicate]
Possible Duplicate:
What is the difference between symbolic and hard links?
Today, my teacher talked about the differences between 'hard links' and 'soft links', but she never really ...
33
votes
2answers
8k views
Why hard links not allowed to directories in UNIX/Linux
I read in text books that UNIX/Linux doesn't allows hard links to directories but soft links do. Is it because, when we have cycles and if we create hardlinks, and after some time we delete the ...
26
votes
7answers
5k views
1
vote
2answers
684 views
Keep tracking of symbolic links?
I use symbolic links quite often, but after moving the original file, I lose track of the symbolic link. I also use symbolic links for keeping track of some files in the same directory, but again, I ...
4
votes
4answers
373 views
Symbolic link and hard link questions
Let's say /A/B/c.sh is symbolic linked to /X/Y/c.sh.
If c.sh has the command "./SOMETHING", '.' means /A/B/ or /X/Y/?
How about the hard link?