How to check the date in unix?



How to check the date in unix?..

Answer / Dolly

"To check the current date in Unix, you can use the date command:
`date`nThis will display the current date and time. To display just the date, you can use:
`date +%m-%d-\%y`nThis will display the date in the format MM-DD-YY."n

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Unix General Interview Questions

How many root directories exist in unix?

1 Answers  


What is tilde unix?

1 Answers  


Explain system bootup in unix.

1 Answers  


What is unix and why it is used?

1 Answers  


Explain how do we change file access permissions?

1 Answers  


What are internal and external commands in unix?

1 Answers  


How do I delete files older than 2 days unix?

1 Answers  


What is unix environment?

1 Answers  


Does mac use unix?

1 Answers  


How do I grep multiple patterns in unix?

1 Answers  


Describe the responsibilities of shell in brief.

1 Answers  


Which mode executes the fault handler?

1 Answers  


Categories