What is the command to diplay the only current month?
-
date +m
-
date %m
-
+%m date
-
date +%m
D
Correct answer
Explanation
The date command with +%m format specifier displays only the current month as a two-digit number (01-12). The correct syntax is 'date +%m' where + signals format string and %m is the month specifier. Options A and B are missing the required + prefix, and Option C has the wrong order (format precedes command).