September 2018
M T W T F S S
 12
3456789
10111213141516
17181920212223
24252627282930

Categories

September 2018
M T W T F S S
 12
3456789
10111213141516
17181920212223
24252627282930

time difference

Time difference res1=$(date +%s.%N) sleep 1 res2=$(date +%s.%N) echo “Start time: $res1” echo “Stop time: $res2” echo “Elapsed: $(echo “$res2 – $res1″|bc )” printf “Elapsed: %.3F\n” $(echo “$res2 – $res1″|bc )