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

Name the unix command to find how many days the server has been up.

600


What does find command return in unix?

595


What is the difference between grep and grep?

569


Differentiate cmp command from diff command.

586


How do you repeat a command in terminal?

591






What does the command ' $who | sort –logfile > newfile' do?

770


What is s and g in sed command?

561


Explain the steps that a shell follows while processing a command.

683


Which command should you use to find the remaining disk space in unix server?

709


What is the unix command to confirm a remote host is alive or not?

579


Who command in unix?

576


Which command is used to delete all files in the current directory and all its sub-directories?

665


What is command substitution?

625


What is the use of egrep command in unix?

625


Describe the zip/unzip command using gzip.

613