Wat does the output show you?

You enter the command date +%M. Wat does the output show you?

You enter the command date +%M. Wat does the output show you?

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 2

Your email address will not be published. Required fields are marked *


kavyashree

kavyashree

Answer is A. current year

SyedJaved

SyedJaved

D is correct check Man pages.