shell中输出日期的一个函数

开始

function T () {
    date '+%F %T.%N'
}

结束

原文地址:https://www.cnblogs.com/vanwoos/p/9578521.html