how to find path of file in linux code example
Example 1: linux get full path
readlink -f file.txt #file
readlink -f Downloads #folder
Example 2: linux file path
readlink -f file.txt
readlink -f file.txt #file
readlink -f Downloads #folder
readlink -f file.txt