show path to executed file linux code example
Example 1: full path of file linux
readlink -f file.txt
Example 2: how to find the path of a command in linux
which python
which -a pyton
readlink -f file.txt
which python
which -a pyton