相关疑难解决方法(0)

为什么需要 ./ 来运行可运行文件?

我正在使用 ubuntu,我注意到我的许多可运行脚本将无法运行,除非我在主题之前加上./.

例如,如果我有一个 perl 脚本:/home/me/script.pl并且我目前在 中/home/me,则键入script.pl不会这样做,但./script.pl会。

这是为什么?

linux filesystems ubuntu

9
推荐指数
2
解决办法
1129
查看次数

标签 统计

filesystems ×1

linux ×1

ubuntu ×1