home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


readlink

readlink 
name

Returns the name of a file pointed to by the symbolic link name . name should evaluate to a filename, the last component of which is a symbolic link. If it is not a symbolic link, or if symbolic links are not implemented, or if some system error occurs, the undefined value is returned, and you should check the error code in $! . If name is omitted, the function uses $_ .