首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 操作系统 > UNIXLINUX >

linux下shell编程时出现command not found解决方案

2012-05-21 
linux下shell编程时出现command not found我是linux的新手,前几天装了redhat的虚拟机,没有改动任何的配置

linux下shell编程时出现command not found
我是linux的新手,前几天装了redhat的虚拟机,没有改动任何的配置文件,也没有装什么新的软件。今天在学shell编程的时候,执行文件总是出现command not found的错误提示。以下是课件上的代码:

C/C++ code
#!/bin/sh#print hello world in the console windowa = "hello world"echo $a


希望大家能帮个忙。

[解决办法]
C/C++ code
#!/bin/sh#print hello world in the console windowa="hello world"echo $a 

热点排行