Import Upstream version 1.8.5
[hcoop/debian/openafs.git] / doc / man-pages / pod1 / symlink_list.pod
CommitLineData
805e021f
CE
1=head1 NAME
2
3symlink_list - Show the file to which a symlink points [Windows only]
4
5=head1 SYNOPSIS
6
7=for html
8<div class="synopsis">
9
10B<symlink list> S<<< [B<-name>] <I<file name>> >>> [B<-help>]
11
12=for html
13</div>
14
15=head1 DESCRIPTION
16
17The B<symlink list> command shows if a file is a symbolic link and, if so,
18shows to which file the link points.
19
20=head1 CAUTIONS
21
22The B<symlink> commands are only available on Windows platforms. On other
23platforms, use the B<readlink> command.
24
25=head1 OPTIONS
26
27=over 4
28
29=item [B<-name>] <I<file name>>
30
31Specify one or more symbolic links to list. The C<-name> is optional, but
32the file name is not.
33
34=item B<-help>
35
36Prints the online help for this command. All other valid options are
37ignored.
38
39=back
40
41=head1 OUTPUT
42
43This command prints "'file' is a symlink to 'otherfile'" or "'file' is
44not a symlink."
45
46=head1 EXAMPLES
47
48Given that file C<mylink> is a link pointing to file C<myfile>, the
49following commands will list the files:
50
51 % symlink list -name mylink
52 'mylink' is a symlink to 'myfile'
53
54 % symlink list mylink
55 'mylink' is a symlink to 'myfile'
56
57 % symlink list -name myfile
58 'myfile' is not a symlink.
59
60 % symlink list myfile
61 'myfile' is not a symlink.
62
63=head1 PRIVILEGE REQUIRED
64
65The issuer must have the C<l> (look) and C<r> (read) permissions on the ACL
66of the directory that houses the symlink.
67
68=head1 SEE ALSO
69
70L<symlink(1)>,
71L<symlink_make(1)>,
72L<symlink_remove(1)>
73
74=head1 COPYRIGHT
75
76Copyright 2007 Jason Edgecombe <jason@rampaginggeek.com>
77
78This documentation is covered by the BSD License as written in the
79doc/LICENSE file. This man page was written by Jason Edgecombe for
80OpenAFS.