To see the current time from the Ubuntu or Linux command line:

date

which will give you:

Fri May 30 15:53:21 EDT 2008

To see how to include and format dates and times in your shell scripts, see this post:

/2008/05/how-to-format-dates-in-shell-scripts.html

LEAVE A REPLY

Please enter your comment!
Please enter your name here