linux get full path of current directory code example
Example 1: linux get full path
readlink -f file.txt #file
readlink -f Downloads #folder
Example 2: get full path of files in directory linux command
ls | xargs readlink -f
Example 3: linux show path
pwd //Unix command for showing the path
$PATH //Enviromental variable for showing the path