#!/bin/bash
# Program: date.sh
# Author: zhengsenlin zhengsenlin@gmail.com
# Date 2010-09-20
# Purpose: Sample linux shell script to output date
# Example usage: ./date.sh 20100920
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin
export PATH
date="$1"
echo "Today is $1"
阅读(650) | 评论(1) | 转发(0) |