小编rfu*_*877的帖子

“which”无法找到命令,即使它确实已安装

我最近安装了cryptsetup. 我已经仔细检查过sudo apt-get install cryptsetup

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
cryptsetup is already the newest version (2:2.3.7-1+deb11u1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Run Code Online (Sandbox Code Playgroud)

但是,当我尝试使用该命令时,它无法识别它。

bash: cryptsetup: command not found
Run Code Online (Sandbox Code Playgroud)

然后我尝试使用 查找命令的位置whichwhich cryptsetup

但是该命令不会返回任何内容。man cryptsetup说这cryptsetup确实是正确的命令名称。这里有什么问题吗?

linux debian path which command

5
推荐指数
1
解决办法
585
查看次数

标签 统计

command ×1

debian ×1

linux ×1

path ×1

which ×1