bash get full path code example
Example 1: bash find full path
find "$(pwd -P)" -name "filename"
Example 2: linux get full path
readlink -f file.txt #file
readlink -f Downloads #folder
find "$(pwd -P)" -name "filename"
readlink -f file.txt #file
readlink -f Downloads #folder