dir full file path linux code example
Example 1: full path of file linux
readlink -f file.txt
Example 2: get full path of files in directory linux command
ls | xargs readlink -f
readlink -f file.txt
ls | xargs readlink -f