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

ls config.inc.php
config.inc.php

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

pwd
/Application/XAMPP/xamppfiles/phpmyadmin

Can you put them together and show them

/Application/XAMPP/xamppfiles/phpmyadmin/config.inc.php
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