linux path file code example Example 1: linux add to path export PATH=$PATH:/place/with/the/file Example 2: linux file path readlink -f file.txt