40media How to get file path from symlink?

How to get file path from symlink?

How can i get information via php or bash to what file referencing a symlink in linux?

Newbie: Render RGB to GTK widget — howto?


Is there any way to get the combine two xml into one xml in Linux
If SYMPATH is a symlink to REALPATH, then .
How do I know which illegal address the program access when a segmentation fault happens
readlink SYMPATH 
returns REALPATH.
Constructing a function call in C

Java socket bug on linux (0xFF sent, -3 received)

sendmail working but PHP mail() is failing


How do I stop/workaround Java apps stealing focus in Linux window managers
Example from SplFileInfo::getLinkTarget.
Lock a mutex multiple times in the same thread
$info = new SplFileInfo('/Users/bbieber/workspace'); if ($info->isLink()) {     var_dump($info->getLinkTarget());     // gives string(19) "Documents/workspace"     var_dump($info->getRealPath());        // gives string(34) "/Users/bbieber/Documents/workspace" } 


In php you can use the realpath function..


94 out of 100 based on 74 user ratings 874 reviews