#! /bin/sh set -x cat>/etc/motd.tail< /$i done set +x