#!bin/bash
time=$(date "+%Y-%m-%d %H:%M:%S").$((`date "+%N"`/1000000))
echo $time

  linux shell 获取系统当前时间 毫秒_其他