使用readlink获取文件的完整路径
Hujiuxiang
・1 分钟阅读
获取文件的完整路径
readlink -e/bin/ls
coreutils的一部分不需要额外的软件包。
示例输出
/bin/ls