Decide whether the shell command is valid and what it outputs.
Date prints a four-digit year, plus a newline from echo.
Ready to try it?
Create a free account and subscribe to take "Year Length". Earn 300 XP and track your internship progress.
Already have an account? Sign in