what is the use of "test" command in unix?

Answer Posted / sourisengupta

test - check file types and compare values

Is This Answer Correct ?    10 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the unix commands?

545


What difference between cmp and diff commands?

714


How do I search a whole word in vim?

683


How can you see the command line history?

580


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

699






What is .sh file?

611


What is time_t?

580


What is the difference between grep and grep?

563


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

626


What does this command do,"$more readme.txt“?

682


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:

1752


What is command statement?

538


What does sed command do in unix?

556


What is pipe command in unix?

662


What do chmod command do?

600