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 "type" command in unix?what is the functionality??
what is ls -ltd?
How to find and replace the below command?
distinguish between multi-tasking,multi-user,multi- processing and time sharing?
4 Answers Infosys, Nikhil Construction,
How do you grep a case insensitive?
what is the command to list all files in a directory, including the hidden files in UNIX ?
How do you find which version and name of unix you are using at the command prompt?
what are the uses of filters?
distinguish between multi-tasking,multi-user,multi- processing and time sharing?
7 Answers Alcatel, Cisco, Infosys, University Exams,
Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?
How do you change your account's password?
solaris Run level?