Created
July 18, 2019 15:05
-
-
Save qqpann/9de4ed0befad1a1a004f84fc25782e9e to your computer and use it in GitHub Desktop.
Get full path to a file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
realpath file.txt | |
#=> /data/real/path/to/file.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment