in UNIX,what is the command to remove directory with files?
Answers were Sorted based on User's Feedback
Answer / manikandan
\rm -rf directoryName
This is used for remove dirctory with confirmation
| Is This Answer Correct ? | 21 Yes | 12 No |
Answer / keerthana
rm -r directory_name
rm -ir director_name
rm -rf directory_name
| Is This Answer Correct ? | 6 Yes | 3 No |
Answer / julias ceasor a
rm -rf <directory_name> without confirmation
rm -r <directory_name> With confirmation for all files it
conatins.
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / rejaul
at first delete the file in that directory with
rm *
then comeout of that directory and then
type rmdir (directory name)
| Is This Answer Correct ? | 2 Yes | 1 No |
What is the significance of the 'tee' command?
What is use of sed command?
12 Answers BitWise, Infosys, Reliance,
what is tar command and what are the different types of tar commands?
what is the shell for dos,nt operating systems?
What is the difference between cat and more command?
Write a command to find all of the files which have been accessed within the last 30 days.
5 Answers Google, IBM, Satyam,
What is the use of the command 'ls -x chapter[1-5]' ?
How to know a process is a zombie or orphan process?
what does the command 'wc' do?
What does touch command do in unix?
Which command is used to copy files?
What does the “echo” command do?