returns the current time with nanoseconds.
This commit is contained in:
onceupon 2021-03-16 19:43:41 +08:00
parent 8b505a4dc5
commit 093edef55a

View File

@ -1106,6 +1106,10 @@ date +%F
# or
date +'%d-%b-%Y-%H:%M:%S'
# 10-Apr-2020-21:54:40
# returns the current time with nanoseconds.
date +"%T.%N"
# 11:42:18.664217000
```
##### wait for random duration (e.g. sleep 1-5 second, like adding a jitter)