bash - Linux command to get time in milliseconds -
is there shell command in linux time in milliseconds?
date +%s
returns number of seconds since epoch.
date +%s%n
returns number of seconds + current nanoseconds.
therefore, echo $(($(date +%s%n)/1000000))
need
Comments
Post a Comment