in UNIX,what is the command to remove directory with files?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is .sh file?

611


What command is used to switching between users in unix?

556


How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?

754


What is merge command in unix?

940


What are the commands in UNIX to list the files in a Directory?

609






Is ‘du’ a command? If so, what is its use?

626


What is the comma to show the space allocation of files?

555


How to display no of records in oracle using unix command?

585


Name the general commands in using unix os for a beginner?

616


Write a command to kill the last background job?

610


Explain mount and unmount command.

607


How do I use grep to search for a file?

578


Explain command to view process running?

609


Why is it called a shebang?

566


What is the size of time_t?

637