站长论坛

标题: 在linux下创建一条shell [打印本页]

作者: lutr    时间: 2008-5-1 10:50
标题: 在linux下创建一条shell
输入一条你的编好的SHELL命令,就会显示hello。

用vi编辑一个名字为hello的文件,内容如下:

echo "hello"

wq!保存退出

chmod 755 hello
./hello




欢迎光临 站长论坛 (http://www.tzlink.com/bbs/) Powered by Discuz! X3.2