COMPUTER SCIENCE AND ENGINEERING
UNIX
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
date
|
|
cal
|
|
who
|
|
mkdir
|
Detailed explanation-1: -The date command displays or sets the date and time. Attention: Do not change the date when the system is running with more than one user. The following formats can be used when setting the date with the Date parameter: mmddHHMM[YYyy] (default)
Detailed explanation-2: -date command is used to display the system date and time. date command is also used to set date and time of the system. By default the date command displays the date in the time zone on which unix/linux operating system is configured.
Detailed explanation-3: -The Epoch time (Unix time or Unix timestamp or POSIX time) is the time (in seconds) that have been elapsed since January 1, 1970. To display the time from the epoch to the current date, execute the command with the ā%sā option as follows: date +%s.