โ
by
Get the full path of a file via:
$ readlink -f ./file
Tip: make an alias:
alias fullpath='readlink -f'