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

Answer Posted / yuvaevergreen

date command

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which unix command lists files/folders in alphabetical order?

620


What is the use of the tee command?

602


How can we use grep command in unix?

616


Who command in unix operating system?

662


What is the command to view process running?

576






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


Which command should you use to find the remaining disk space in unix server?

709


Give the command for finding the current date.

583


Explain command to show the space allocation of files?

630


What is the use of cut command in unix?

692


Enlist some filename manipulation commands in unix.

554


What is {} in find command?

584


why metadb requires a seperate slice to create Solaris volume manager

2556


How do I search a whole word in vim?

693


How do you grep recursively?

557