What Command will remove a Directory in UNIX?

Answer Posted / brijmohan

rmdir is used.

we can also use rm -rf to remove directory recursively.
means it will first remove all files and folder from that
directory then it will remove current folder.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does touch command do in unix?

730


What is merge command in unix?

946


What is the use of tee command?

570


What is the use of egrep command in unix?

624


What is the first character of the output in ls l command?

635






What is {} in find command?

584


Name the various commands that are used for the user information in unix.

539


Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?

961


What is the difference between cat command and more command?

599


why metadb requires a seperate slice to create Solaris volume manager

2556


What difference between cmp and diff commands?

723


What is a bash command?

627


What do chmod command do?

603


Who command in unix operating system?

662


What is “chmod” command?

565