#!/bin/ksh time_stamp=`date "+%y%m%d%H%M"` echo $time_stamp cp -p test.sh ./copy/test$time_stamp.sh echo cp finish rm -rf test.sh echo rm finish touch test.sh echo touch finish chmod 777 test.sh echo chmod finish |
歡迎光臨 Chinaunix (http://www.72891.cn/) | Powered by Discuz! X3.2 |