Is there an easy way I can print the full path of file.txt ?
file.txt
file.txt = /nfs/an/disks/jj/home/dir/file.txt
The
This works with both Linux and Mac OSX ..
echo $(pwd)$/$(ls file.txt)