in UNIX,what is the command to remove directory with files?

Answer Posted / saheed

rm -rf directoryName with out confirmation

Is This Answer Correct ?    31 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you explain a little bit about command substitution?

610


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:

1762


Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?

642


What is grep and how do you use it?

577


What will the following command do?

615






What does #!/ Bin sh do?

591


What is the pipe command?

578


What are reported commands?

566


Name the various commands that are used for the user information in unix.

539


What is rmdir command?

553


What does the command ' $who | sort –logfile > newfile' do?

770


What is “chmod” command?

566


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

560


How can you see the command line history?

586


What is the use of find command in unix?

584