首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >命令“chmod”没有找到,你的意思是:

命令“chmod”没有找到,你的意思是:
EN

Ask Ubuntu用户
提问于 2020-04-26 00:57:31
回答 1查看 19.5K关注 0票数 -4

我试图在ubuntu上安装metasploit,得到了以下错误:

代码语言:javascript
运行
复制
Command ' chmod' not found, did you mean:

  command 'chmod' from deb coreutils (8.30-3ubuntu2)

Try: sudo apt install 

周围有工作吗?

谢谢。

EN

回答 1

Ask Ubuntu用户

发布于 2020-04-26 01:40:47

您可以运行sudo apt install --reinstall coreutilschmod重新放到系统中。

示例:

代码语言:javascript
运行
复制
terrance@terrance-ubuntu:~$ chmod

Command 'chmod' not found, but can be installed with:

sudo apt install coreutils

terrance@terrance-ubuntu:~$ sudo apt install --reinstall coreutils
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 47 not upgraded.
Need to get 1,231 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 coreutils amd64 8.28-1ubuntu1 [1,231 kB]
Fetched 1,231 kB in 1s (1,242 kB/s)  
(Reading database ... 669001 files and directories currently installed.)
Preparing to unpack .../coreutils_8.28-1ubuntu1_amd64.deb ...
Unpacking coreutils (8.28-1ubuntu1) over (8.28-1ubuntu1) ...
Setting up coreutils (8.28-1ubuntu1) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for install-info (6.5.0.dfsg.1-2) ...

terrance@terrance-ubuntu:~$ chmod
chmod: missing operand
Try 'chmod --help' for more information.

希望这能有所帮助!

票数 4
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1231156

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档