How does a user get the current date, time in UNIX?
Answer Posted / niranjan
command : $ date
date having different options according to reqirement like MMDDYY or day of the week,month name,weekday plenty off:)
$date %c gives current time with date month year
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?
What is used to type command?
What does find command return in unix?
Which command should you use to find the remaining disk space in unix server?
What is grep r?
Who invented grep?
What is {} in find command?
What is the difference between cat and more command?
What is the function of grep command in unix?
What is awk used for?
Which command is used to create a directory?
Write a command that will display files in the current directory, in a colored, long format.
What is unix command line?
What is .sh file?
What are the differences among a system call, a library function, and a unix command?