Jianping Zhu <[EMAIL PROTECTED]> wrote:
>I have redhat 7.3, i want to use currnt date as file extension by using
>following command.
>mv myfile myfile.${`date`}

currdate=`date -s +%Y%m%d`
mv myfile myfile.$currdate




-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to