一个s h e l l脚本可以包含一个或多个命令。当然可以不必只为了两个命令就编写一个s h e l l脚本,一切由用户自己决定。本章内容有:• 使用s h e l l脚本的原因。• shell脚本基本元素。• shell脚本运行方式。