how to find out a file or directory full path in linux code example Example: get full path of files in directory linux command ls | xargs readlink -f