lstat lstat (file) Returns the same information as stat, but if file is a symbolic link, returns the status information for the link.