Monday, January 30, 2017

show full path of a file


readlink -f filename   

gives the full absolute path. but if the file is a symlink, u'll get the final resolved name.

No comments: