Timeline for How to obtain the absolute path of a file via Shell (BASH/ZSH/SH)?
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 25, 2016 at 20:51 | comment | added | jimh | works on linux (CentOS) thank you, because realpath did not exist for it | |
Nov 9, 2015 at 13:20 | comment | added | Fran Marzoa | Definitely it is not on a DEFAULT OSX installation. | |
Jul 24, 2014 at 16:15 | comment | added | iconoclast |
@KennethHoste: the -m option is not available on Mavericks.
|
|
Mar 10, 2014 at 20:59 | comment | added | Kenneth Hoste | I do have readlink available on OS X 10.9 (Mavericks), so this this is definitely the best answer here. | |
Dec 30, 2013 at 14:32 | comment | added | quietmint | Nice. This also works on files/directories that do exist but are not symlinks. | |
Feb 27, 2013 at 17:10 | history | edited | Flimm | CC BY-SA 3.0 |
edited body
|
Feb 27, 2013 at 17:04 | history | answered | Flimm | CC BY-SA 3.0 |