How does a user get the current date, time in UNIX?

Answer Posted / prabakaran

$ date

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does sed command do in unix?

566


hw will u use awk in replacing cahrs and files

2735


Why is it called grep?

563


What is the comma to show the space allocation of files?

560


What is the difference between grep and grep?

569






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 # include int main() { int pid; pid=fork(); if(pid < 0) {exit(-1);} else if(pid==0) { printf("Child Process is Sleeping ..."); sleep(10); printf("Orphan Child's Parent ID : %u ",getppid()); } else { printf("Parent Process Completed ... %u ",getpid()); exit(0); } return 0; } Output:

1764


Write a command to kill the last background job?

619


What are filter commands in unix?

555


What is grep and how do you use it?

577


What is the general format of unix command syntax?

694


How do I find previous commands in unix?

594


What is nr in awk command?

604


What is “chmod” command?

566


What is {} in find command?

584


Is ‘du’ a command? If so, what is its use?

639