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

How do I find previous commands in unix?

797


What will the following command do?

792


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

779


What does this command do,"$more readme.txt“?

848


Give the command for finding the current date.

750






What does the md command do?

760


What is $0 bash?

875


What is in grep command?

836


How to find $ai_serual resolved path by using unix

1239


How does the system know where one command ends and another begins?

1834


How do I clear my terminal history?

786


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

936


What does sed command do in unix?

768


What is the behavioural difference between cmp and diff commands?

858


Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?

881