Get full path of a file
Can somebody tell me how to get the full path of a symlink and/or file ?
I have the following
myfile (symlink) -> myactualfile (physical file)
When I use readlink on myfile, I get myactualfile. Howver, I want the full path. If thats not possible using a single command, I was thinking to do this in 2 steps
2. get_full_path(file) - Need Linux API to substitue get_full_path.