bash - bash 中的显示命令不再起作用

标签 bash

我正在使用带有 display 命令的 bash 脚本,升级到 Ubuntu 10.10 后,此 bash 脚本以错误消息结束:

显示:未找到命令

问题出在哪里?

最佳答案

您尚未安装任何提供“显示”命令的程序。

$ dpkg -S /usr/bin/display 
imagemagick: /usr/bin/display

安装“imagemagick”应该允许您再次使用“display”。

关于bash - bash 中的显示命令不再起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8258704/

相关文章:

bash - 如何添加具有升序名称的目录,例如 dir-000、dir-001 等

bash - 来自 bash 脚本的对话框

linux - 如何将 bash 脚本中的字符串发送到 c 程序并使用该字符串

bash - 检查字符串是否包含非数字字符

bash - 需要帮助替换 bash 脚本中的单引号

linux - Incrond 监控 NFS 挂载?

Linux 庆典 : timeout a program if the program hangs in there and echo 'timeout'

linux - awk 打印不带引号的值

java - 如何将 Bash 与 Java 集成

regex - 选择 2 个其他字符串之间没有字符串的所有文件