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 are the different commands used to view the contents of a file?
Name the unix command to find how many days the server has been up.
How do you remove a directory?
A file has 1000 lines and i want to display only 1st line how to do it? pls ..tel me
What is unix command?
What difference between cmp and diff commands?
who to change the duplex setting of network interface in command line
What's a command word?
How to find $ai_serual resolved path by using unix
1-how will you display a file whose name is starting with '- '? 2-how will you add a patten at end of every line in vi editor?
Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?
What are awk commands?