mirror of
https://github.com/onceupon/Bash-Oneliner
synced 2025-02-16 13:08:23 +00:00
+ time
returns the current time with nanoseconds.
This commit is contained in:
parent
8b505a4dc5
commit
093edef55a
1 changed files with 5 additions and 1 deletions
|
@ -1105,7 +1105,11 @@ date +%F
|
|||
|
||||
# or
|
||||
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)
|
||||
|
|
Loading…
Add table
Reference in a new issue