Which two commands can you use to delete directories?

Answer Posted / amit rana

1. rmdir <directory name> : use to delete only blank
directories .

2. rm -rf <directory name> : use to delete directory & its
all contents.

Is This Answer Correct ?    28 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between diff and cmp command in unix?

679


How do I find the umask value in linux?

708


How to write the output of a command to a file?

756


How do I find the linux version?

731


What does && mean in linux?

772


What is bash linux?

732


You issue the command head * what would the resulting output be?

727


How do I permanently set ulimit in linux?

712


Why echo is used in linux?

750


What is tty in linux process?

701


What is $@ in bash?

753


How do you limit memory usage for commands?

776


What is history command in linux?

731


what is the roles and responsibilities in linux system admin having 2yrs exp..?

3949


What are the examples of simple command?

722