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

Answer Posted / keerthana

rm -r directory_name
rm -ir director_name
rm -rf directory_name

Is This Answer Correct ?    6 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the command to compare two files in unix?

614


Which command can you use to find the currently running process in unix server?

581


hw will u use awk in replacing cahrs and files

2721


What do know about tee command?

596


What does pipe () return?

585






What is awk good for?

578


Explain how to use grep command to list find the records of a file containing 10 different strings?

587


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 command is used to check the current users?

587


Differentiate cat command from more command.

570


What is time_t?

580


How do you grep a case insensitive?

534


Describe the usage and functionality of the command rm –r * in unix?

818


What are grep patterns?

571


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

761