PrepAway - Latest Free Exam Questions & Answers

What does the output show you?

You enter the command date +%M.

What does the output show you?

PrepAway - Latest Free Exam Questions & Answers

A.
the current year

B.
the current month

C.
the current hour

D.
the current minute

E.
the current second

Explanation:
From the man pages:
date – print or set the system date and time
date [OPTION]… [+FORMAT]
date [-u|–utc|–universal] [MMDDhhmm[[CC]YY][.ss]]
[…]
%A locale’s full weekday name, variable length (Sunday..Saturday)
%b locale’s abbreviated month name (Jan..Dec)
%B locale’s full month name, variable length (January..December)
%c locale’s date and time (Sat Nov 04 12:02:33 EST 1989)
%C century (year divided by 100 and truncated to an integer) [00-99]
%d day of month (01..31)
%H hour (00..23)
%m month (01..12)
%M minute (00..59)
%Y year (1970…)


Leave a Reply