Timeline for How to obtain the absolute path of a file via Shell (BASH/ZSH/SH)?
Current License: CC BY-SA 3.0
15 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 8, 2018 at 14:05 | comment | added | ivan_pozdeev |
This won't work if $1 is a plain filename: get_abs_filename foo -> nothing (or <current_dir>/foo/foo if foo is a directory).
|
|
May 23, 2017 at 11:55 | history | edited | URL Rewriter Bot |
replaced http://stackoverflow.com/ with https://stackoverflow.com/
|
|
Mar 19, 2015 at 6:19 | comment | added | adib |
the function can be added to .profile and hence available for interactive use.
|
|
Oct 1, 2014 at 13:40 | review | Suggested edits | |||
Oct 1, 2014 at 13:53 | |||||
Mar 21, 2014 at 8:17 | comment | added | cfi | Since you are referring to nolan6000's answer, please note that the poster dhardy already commented that he would not accept nolan6000's answer because he is not looking for a script. So strictly speaking your answer does not answer the question. | |
Mar 21, 2014 at 8:16 | comment | added | cfi | Welcome to SO! For small changes and remarks, adding a comment to an existing answer might be more appropriate than adding an answer, especially if this copied answer lacks a lot of the other information of the original answer. Once you've collected a bit more reputation, you are able to add comments to other people's answers. For now, try to collect reputation by asking unique, valuable questions or providing stand alone, good answers. | |
Mar 21, 2014 at 8:12 | history | edited | cfi | CC BY-SA 3.0 |
Adding link, trying to clear up formatting
|
Mar 21, 2014 at 8:06 | review | Low quality answers | |||
Mar 21, 2014 at 8:12 | |||||
Mar 21, 2014 at 8:05 | history | edited | bsingh | CC BY-SA 3.0 |
added 9 characters in body
|
S Mar 21, 2014 at 7:34 | history | suggested | Gijs Overvliet | CC BY-SA 3.0 |
Fixed formatting
|
Mar 21, 2014 at 7:33 | review | Suggested edits | |||
S Mar 21, 2014 at 7:34 | |||||
S Mar 21, 2014 at 7:31 | review | Low quality answers | |||
Mar 21, 2014 at 7:36 | |||||
S Mar 21, 2014 at 7:31 | review | Late answers | |||
Mar 21, 2014 at 7:33 | |||||
S Mar 21, 2014 at 7:31 | review | First posts | |||
Mar 21, 2014 at 7:33 | |||||
Mar 21, 2014 at 7:13 | history | answered | bsingh | CC BY-SA 3.0 |