今天在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:找不到命令
怎么解决呢?
说,shell下用dialog显示找不到命令这个问题
- catsoul
- 帖子: 22
- 注册时间: 2010-10-15 11:40
- 枫叶饭团
- 帖子: 14683
- 注册时间: 2010-06-16 1:05
- 系统: Mac OS X
- 来自: Tencent
- 联系:
- eexpress
- 帖子: 58428
- 注册时间: 2005-08-14 21:55
- 来自: 长沙
- enzymer
- 帖子: 103
- 注册时间: 2007-05-28 10:28
Re: 说,shell下用dialog显示找不到命令这个问题
代码: 全选
sudo apt-get install dialog