What Command will remove a Directory in UNIX?

Answer Posted / khemnath chauhan

$rmdir <dirname>
will remove the diretory.
$rmdir -i <dirname>
will remove interactively

Is This Answer Correct ?    12 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does the command '$ls | wc –l > file1' do?

654


What do chown command do?

508


Describe the zip/unzip command using gzip.

586


What does sed command do in unix?

541


What is the command to find hidden files in the current directory?

560






What are reported commands?

535


What is the difference between cat command and more command?

580


What command will change your prompt to myprompt?

666


Can you enlist some commonly used network commands?

579


What are file commands?

636


What are grep patterns?

561


What is the nmap command?

554


Explain how to use grep command to list find the records of a file containing 10 different strings?

568


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

663


What is unix command line?

583