symlink_list - Show the file to which a symlink points [Windows only]
symlink list [-name] <file name> [-help]
The symlink list command shows if a file is a symbolic link and, if so, shows to which file the link points.
The symlink(1) commands are only available on Microsoft Windows platforms. On UNIX platforms, use the readlink command.
Specify one or more symbolic links to list.
The -name
is optional,
but the file name is not.
Prints the online help for this command. All other valid options are ignored.
This command prints "'file' is a symlink to 'otherfile'" or "'file' is not a symlink."
Given that file mylink
is a link pointing to file myfile
,
the following commands will list the files:
% symlink list -name mylink 'mylink' is a symlink to 'myfile' % symlink list mylink 'mylink' is a symlink to 'myfile' % symlink list -name myfile 'myfile' is not a symlink. % symlink list myfile 'myfile' is not a symlink.
The issuer must have the l
(lookup) permissions on the directory and r
(read) permission on the symlink object.
symlink(1), symlink_make(1), symlink_remove(1)
Copyright 2007 Jason Edgecombe <jason@rampaginggeek.com>
This documentation is covered by the BSD License as written in the doc/LICENSE file. This man page was written by Jason Edgecombe for OpenAFS.
"AFS" is a registered mark of International Business Machines Corporation, used under license. (USPTO Registration 1598389)
"OpenAFS" is a registered mark of International Business Machines Corporation. (USPTO Registration 4577045)
The "AuriStor" name, log 'S' brand mark, and icon are registered marks of AuriStor, Inc. (USPTO Registrations 4849419, 4849421, and 4928460) (EUIPO Registration 015539653).
"Your File System" is a registered mark of AuriStor, Inc. (USPTO Registrations 4801402 and 4849418).
"YFS" and "AuriStor File System" are trademarks of AuriStor, Inc.