I have to check the time in linux terminal.
What is the command for getting date and time in Linux terminal ?
Is there any way in which we can set custom function ?
The command is
To customise the output there are a myriad of options available, see
date --help for a list.
date '+%A %W %Y %X' gives
Tuesday 34 2013 08:04:22 which is the name of the day of the week, the week number, the year and the time.