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 does the command 'wc' do?
How do you create a directory in UNIX?
Which command is used to copy files?
Write a grep (or grep) command that selects the lines from a file that have exactly three characters.
How can you see the command line history?
How to view the hidden files in /etc directory?
what does a process mean?
what are wild cards?
how to sort the content of the file based on numeric values
When the shell is reading the command line what is the difference between text enclosed between double quotes ( ” ) and text enclosed between signal quotes ( ’ )?
What will the following command do?
How does pipe () work?