导航

shell 时间

#不要加空格
time1=$(date)
echo $time1 > /tmp/output.txt

 

posted on 2021-04-19 10:15  toughcactus  阅读(46)  评论(0)    收藏  举报