I am using the date
command in bash:
date +%T*
01:49:14
But how to display it without the colons?
When I do man date
I got.
%T time; same as %H:%M:%S
Then why don't we do which will give same output as %T
option in date
rather than using %T
with external or bash tools to get results in different forms:
date +"%H-%M-%S"
OR
date +"%H/%M/%S"
OR
date +%H%M%S ##Without any output delimiter