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 |
how to unzip the contents of the gzip file
distinguish between paging and swapping?
Explain ‘library functions’ with respect to unix commands?
distinguish between multi-tasking,multi-user,multi- processing and time sharing?
4 Answers Infosys, Nikhil Construction,
What is ‘ps’ command for?
What is the use of the command 'ls -x chapter[1-5]' ?
What happens when we execute a unix command?
Give command that will make the file "run.sh" executable?
which command is used to change group?
How to know a process is a zombie or orphan process?
What does find command return in unix?
What is a bash command?