readlink -f \"\$0\"
时间: 2023-09-15 08:23:32 浏览: 116
readlinkf:POSIX外壳脚本的POSIX兼容readlink -f实现
`readlink -f "\$0"` is a shell command used to retrieve the absolute path of the current script. It resolves any symbolic links and returns the full path to the script.
阅读全文