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 bash commands?
how to sort the content of the file based on numeric values
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.
What UNIX command will control the default file permissions when files are created?
What is FIND, GREP and SED ? Could you please give me the difference between all the three? Where we use this commnands?
What is the search command in unix?
Assume the following files are in the working directory prompt> ls -l tasks -rw-r--r-- 1 alex student 1423 Feb 21 14:01 tasks What command can Alex use to give everyone permission to write to the file? What will the ls -l command display if he does so?
how to unzip the contents of the gzip file
How to find the files that are accessed before 10 minutes?
Through which command will redirect output to bOth screen and files at the same time?
Give the command to display space usage on the UNIX file system.
Where can I get the free download of Unix by Yeswant Kanetkar?