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
What difference between cmp and diff commands?
What is awk used for?
What is unix command?
Which command should you use to find the remaining disk space in unix server?
Who invented grep?
What are the differences among a system call, a library function, and a unix command?
What is the difference between cat and more command?
What is {} in find command?
What is updatedb?
Is it inbetween or in between?
When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system.
How can i findthe right soluion???
My pgm:
#include
What is the use of egrep command in unix?
Which unix command lists files/folders in alphabetical order?
What is the significance of the 'tee' command?
What is awk command used for?