linux绝对路径相对路径
How to find Linux absolute path for a relative path in Linux?
We may need the absolute path on Linux when we only know the relative path. The readlink command does the trick.
当我们只知道相对路径时,我们可能需要在Linux上使用绝对路径。 readlink 命令可以解决问题。
To find out the absolute path for a relative path, e.g. ./:
要找出相对路径的绝对路径,例如./:
$ readlink -f ./
Answered by SA.
由SA回答。
翻译自: https://www.systutorials.com/how-to-find-linux-absolute-path-for-a-relative-path/
linux绝对路径相对路径