用linux指令获取文件最后修改时间的毫秒数
echo $(stat hs_err_pid3265.log|head -n 7|tail -n 1)|cut -d “.” -f2|cut -d " " -f1
echo $(stat hs_err_pid3265.log|head -n 7|tail -n 1)|cut -d “.” -f1|cut -c9-
echo (((((date -d ‘2020-04-10 13:05:56’ +%s%N)/1000000))
date -d ‘2020-04-10 13:05:56’ +%s
数值相加命令:echo 1+1|bc
echo $(stat 文件名|head -n 7|tail -n 1)|cut -d “.” -f2|cut -d " " -f1
Linux上获取文件的最后修改时间的毫秒数

相关文章:

  • 2021-05-20
  • 2022-12-23
  • 2022-12-23
  • 2021-08-27
  • 2021-08-21
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-08-24
  • 2022-02-26
  • 2022-01-17
  • 2022-12-23
  • 2021-12-21
  • 2021-09-09
相关资源
相似解决方案