说,shell下用dialog显示找不到命令这个问题
发表于 : 2011-12-09 9:37
今天在virtual box下跑ubuntu 10.04,emacs写了个很简单的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:找不到命令
怎么解决呢?
#!/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:找不到命令
怎么解决呢?