小编sam*_*adi的帖子

tr:找不到命令

我使用Ubuntu 18.04,最近我一直在运行bash脚本时收到此错误:tr: command not found。在tr不存在/usr/bin/usr/sbin。也安装了,coreutils但仍然没有运气。如何将此命令添加到我的 shell?

which tr什么都不返回。这就是 apt 所说的coreutils

coreutils is already the newest version (8.28-1ubuntu1).
Run Code Online (Sandbox Code Playgroud)

我明白了Command 'tr' not found,没有什么可以超越它。/usr/bin在我的PATH变量中。

bash tr 18.04

7
推荐指数
1
解决办法
2603
查看次数

标签 统计

18.04 ×1

bash ×1

tr ×1