If you are inside a directory location in Terminal and you want to get the absolute path of a particular file then you can make use of the readlink command with -f or --canonicalize flag.
readlink - print resolved symbolic links or canonical file names
man page: https://man7.org/linux/man-pages/man1/readlink.1.html

Comments & Discussion
Facing issues? Have questions? Post them here! We're happy to help!