answersLogoWhite

0


Best Answer

A hard link is an actual physical entity representing the link. i.e.--data file on a server.

A symbolic link is a pointer to a physical entity. The purpose of a symbolic link is, if the object moves, the symbolic link is coded so no matter where the object physically resides, the database can find it. It requires less administration not having to update locations in files pointing to files that have moved. Symbolic links function similar to the short-cuts in a DOS based operating system

AnswerIn Unix and Unix-like systems, a hard link is a directory entry (filename) that points to the file itself. The operating system keeps track of how many hard links point to a file, so when the last hard link to a file is removed, the file is deleted. A symbolic link is a special file that only contains a filename. The file that a symbolic link refers to may not necessarily exist at any given time.
User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the difference between symbolic link and hard link?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you create a symbolic link in Solaris?

To create a symbolic link, use the 'ln' command. If, for example, I wanted to link the file /usr/sbin/mycommand to a symbolic link file in my directory called 'my', the command would be: ln -s /usr/sbin/mycommand my Where the -s indicates a symbolic (as opposed to a hard link), and the next field is the target, followed by the link or alias.


What is the difference between a Link and an Interface?

The difference between a link and an interface is the protocol used.


What are the advantages of hard links over symbolic links in a Linux machine?

Hard links do not link paths on different volumes or file systems, whereas symbolic links may point to any file or directory irrespective of the volumes on which the link and target reside. Hard links always refer to an existing file, whereas symbolic links may contain an arbitrary path that does not point to anything.


How do you recognize that a listed item is a symbolic link when examinig the output of the ls -al command?

If it is a symbolic link you will see a sequence similar to -> that points to the real file from the link.


What is link in unix?

In most Unix and Unix-like systems, there are two kinds of "link". One is a "symbolic (or soft) link", and the other is a "hard link". Both of them are ways of pointing to a file or program that's in some other location in the file system than where it appears to be. (Another way to think of them is as "shortcuts".)A symbolic link can point to any location known to the system, whether it's physically part of the same file system or not. Hard links are generally limited to pointing to files within the same file system.


What is The difference between Zelda and link?

link is the character you play as but Zelda is the princess you have to save


What is the difference between a link and a menu?

A link is what you click on on your computer. A menu is what you get when you're at a resturaunt.


What are the isotopes of chlorine and what is the difference between them?

Please see the link.


What is the difference between D-link switch and a normal cisco switches?

Technology wise there is no such difference.


There is a direct link between how hard one works and what he or she achieves?

YES


What is the difference between Malaysia and Singapore?

See the Related Link below.


What is softlink?

Wow, a question that actually makes sense.Symbolic links began to appear in operating systems as far back as the mid to late 1970s. Symbolic links are supported by all operating systems that are POSIX compliant.In the Unix/Linux world, the ln command is used to create a symbolic link. To provide a more specific answer to your question, a soft link is a symbolic link that can span file systems. A hard link by contrast, must point to another inode on the same file system. Not all operating systems support symbolic links (the FAT file system does not for instance).See the man page for ln for specific information on the use of the Linux/Unix ln command.