 |
How do I get current Unix time in milliseconds using bash? - Server Fault
If you are looking for a way to display the length of time your script ran, the following will provide a (not completely accurate) result: As near the beginning of your script as you can, enter the following basetime=$(date +%s%N) This'll give you a start
serverfault.com |
 |