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 default permission for /etc/shadow file in UNIX
What is FIND, GREP and SED ? Could you please give me the difference between all the three? Where we use this commnands?
Write a command that will output the sorted contents of a file named in.txt and place the output in another file named out.txt, while at the same time excluding duplicate entries.
What do chmod, chown, chgrp commands do?
What do chmod command do?
Give the command for finding the current date.
What does mkdir up2date; touch outdated up2date do?
What is ctrl d?
what is the meaning of this command rm -rf / what will it do ?
How to display no of records in oracle using unix command?
How to add content of one file into another file at the beginning
In UNIX, what is the command to kill a process?