3
I'm new to UNIX (MAC OS X bourne shell POSIX), I understand rmdir
will only remove an empty directory but under what circumstances would you actually want to use rmdir <directory name>
and not just rm -r <directory name>
? Is there an intelligent use case I'm failing to appreciate and that knowing about would make my programming that little bit better if I did? Thanks.