分页: 1 / 1

说,shell下用dialog显示找不到命令这个问题

发表于 : 2011-12-09 9:37
catsoul
今天在virtual box下跑ubuntu 10.04emacs写了个很简单的shell,内容如下:

#!/bin/sh
# Ask some questions and collect the answer
dialog --title “Questionnaire” --msgbox “Welcome to my simple survey” 9 18
exit 0

然后哩,$/bin/bash filename.sh

结果显示:filename.sh: line 3: dialog:找不到命令

怎么解决呢?

Re: 说,shell下用dialog显示找不到命令这个问题

发表于 : 2011-12-09 9:49
枫叶饭团
装它撒

Re: 说,shell下用dialog显示找不到命令这个问题

发表于 : 2011-12-09 9:54
eexpress
使用zenity

Re: 说,shell下用dialog显示找不到命令这个问题

发表于 : 2011-12-09 10:04
enzymer

代码: 全选

sudo apt-get install dialog