'ls' can show the file name, e.g

ls config.inc.php

'pwd' show current folder full path, e.g


Can you put them together and show them

Best Answer

From here: https://stackoverflow.com/a/4031502/804713

macports and homebrew provide a coreutils package containing greadlink (GNU readlink). credit to Michael Kallweitt post in mackb.com

brew install coreutils

greadlink -f file.txt