how to get a files full path in 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