导航

shell 时间

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

 

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