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 |
hw will u use awk in replacing cahrs and files
What are Unix processes, and how do you manage them?
distinguish between interrupts and exceptions?
What does this command do? Cat food 1 > kitty
how to unzip the contents of the gzip file
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.
How to replace the exact word in vi editor?? suppose a file contains words like amaze,amazed,amazement in some of the line.But i want to replace only 'amaze' with delight but don't wanna replace amazed or amazement. thanks
6 Answers Polaris, Tech Mahindra,
Name the various commands that are used for the user information in unix.
Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?
Which command should you use to find the remaining disk space in unix server?
what is the difference between Touch & cat command
What does find command return in unix?