mirror of
https://github.com/onceupon/Bash-Oneliner.git
synced 2024-11-25 22:07:01 +00:00
+ time
returns the current time with nanoseconds.
This commit is contained in:
parent
8b505a4dc5
commit
093edef55a
@ -1105,7 +1105,11 @@ date +%F
|
|||||||
|
|
||||||
# or
|
# or
|
||||||
date +'%d-%b-%Y-%H:%M:%S'
|
date +'%d-%b-%Y-%H:%M:%S'
|
||||||
#10-Apr-2020-21:54:40
|
# 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)
|
##### wait for random duration (e.g. sleep 1-5 second, like adding a jitter)
|
||||||
|
Loading…
Reference in New Issue
Block a user