Unix and Linux Discussions Tagged with path |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
2 |
2,639 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
3,060 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
4,647 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
6,231 |
UNIX for Beginners Questions & Answers |
|
|
|
5 |
3,319 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
8,886 |
Linux |
|
|
|
2 |
2,685 |
UNIX for Beginners Questions & Answers |
|
|
|
7 |
17,877 |
Programming |
|
|
|
5 |
2,603 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
9,711 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
15,145 |
Shell Programming and Scripting |
|
|
|
6 |
7,463 |
Shell Programming and Scripting |
|
|
|
6 |
4,728 |
UNIX for Beginners Questions & Answers |
|
|
|
5 |
1,065 |
UNIX for Beginners Questions & Answers |
|
|
|
10 |
10,168 |
Shell Programming and Scripting |
|
|
|
4 |
10,084 |
UNIX for Advanced & Expert Users |
|
|
|
6 |
3,189 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
6,012 |
Shell Programming and Scripting |
|
|
|
2 |
1,622 |
UNIX for Beginners Questions & Answers |
|
|
|
9 |
16,136 |
AIX |
|
|
|
4 |
3,050 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
1,157 |
UNIX for Beginners Questions & Answers |
|
|
|
5 |
6,343 |
UNIX for Advanced & Expert Users |
|
|
|
15 |
6,357 |
Shell Programming and Scripting |
|
|
|
9 |
6,184 |
Shell Programming and Scripting |
|
|
|
2 |
1,923 |
Solaris |
|
|
|
29 |
5,319 |
Shell Programming and Scripting |
|
|
|
12 |
3,038 |
Shell Programming and Scripting |
|
|
|
7 |
3,700 |
Shell Programming and Scripting |
|
|
|
2 |
1,744 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
2,893 |
Web Development |
|
|
|
8 |
2,937 |
Shell Programming and Scripting |
|
|
|
3 |
1,687 |
Shell Programming and Scripting |
|
|
|
5 |
4,378 |
Solaris |
|
|
|
10 |
3,143 |
Shell Programming and Scripting |
|
|
|
4 |
6,190 |
Shell Programming and Scripting |
|
|
|
5 |
6,652 |
Programming |
|
|
|
8 |
2,133 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
4,009 |
Shell Programming and Scripting |
|
|
|
3 |
2,232 |
Red Hat |
symlink(4) Kernel Interfaces Manual symlink(4)
NAME
symlink - symbolic link
DESCRIPTION
A symbolic (or soft ) link is a file whose name indirectly refers (points) to a relative or absolute path name.
During path name interpretation, a symbolic link to a relative path name is expanded to the path name being interpreted, and a symbolic
link to an absolute path name is replaced with the path name being interpreted.
Thus, given the path name
If is a symbolic link to a relative path name such as the path name is interpreted as
If is a symbolic link to an absolute path name such as the path name is interpreted as
All symbolic links are interpreted in this manner, with one exception: when the symbolic link is the last component of a path name, it is
passed as a parameter to one of the system calls: or (see readlink(2), rename(2), symlink(2), unlink(2), chown(2) and lstat(2)). With
these calls, the symbolic link, itself, is accessed or affected.
Unlike normal (hard) links, a symbolic link can refer to any arbitrary path name and can span different logical devices (volumes).
The path name can be that of any type of file (including a directory or another symbolic link), and may be invalid if no such path exists
in the system. (It is possible to make symbolic links point to themselves or other symbolic links in such a way that they form a closed
loop. The system detects this situation by limiting the number of symbolic links it traverses while translating a path name.)
The mode and ownership of a symbolic link is ignored by the system, which means that affects the actual file, but not the file containing
the symbolic link (see chmod(1)).
Symbolic links can be created using or (see ln(1) and symlink(2)).
AUTHOR
was developed by HP and the University of California, Berkeley.
SEE ALSO
cp(1), symlink(2), readlink(2), link(2), stat(2), mknod(1M).
symlink(4)