Shell scripts/zh: Difference between revisions

Ardenet (talk | contribs)
Created page with "当某个命令缺失时,可以使用 <code>nix-locate</code> 来查找对应的软件包名称。例如,<code>stat</code> 命令:"
Ardenet (talk | contribs)
Created page with "=== 命令未找到 ==="
Line 121: Line 121:
</div>
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
<span id="Command_not_found"></span>
=== Command not found ===
=== 命令未找到 ===
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
例如,脚本会抛出错误 <code>svn: command not found</code>,这是因为缺少依赖包 <code>subversion</code>
For example, the script throws the error <code>svn: command not found</code>, because the dependency <code>subversion</code> is missing.
</div>


当某个命令缺失时,可以使用 <code>nix-locate</code> 来查找对应的软件包名称。例如,<code>stat</code> 命令:
当某个命令缺失时,可以使用 <code>nix-locate</code> 来查找对应的软件包名称。例如,<code>stat</code> 命令: