Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Bash
Posted by: user80856
Added: Oct 16, 2019 7:00 PM
Views: 7
Tags: no tags
  1. while true; do echo -ne "`date`\r"; done
  2.  
  3. while true; do echo -ne "`date +%H:%M:%S:%N`\r"; done
  4.  
  5. date1=`date +%s`; while true; do
  6. echo -ne "$(date -u --date @$((`date +%s` - $date1)) +%H:%M:%S)\r";
  7. done