How can I find the directory for a file?
In my Unix shell, I know how to use the
ls command, but it shows just the name of the file. I need the path too. How do I get it?
migrated from stackoverflow.com Oct 10 '11 at 22:34
This question came from our site for professional and enthusiast programmers.
A quick search led me to this: