shell 脚本

#!/bin/sh

  当编辑好脚本时,如果要执行该脚本,还必须使其可执行。

 

  要使脚本可执行:

编译 chmod +x filename 这样才能用./filename 来运行

posted @ 2010-02-28 16:27  greencolor  阅读(126)  评论(0编辑  收藏  举报