Networking / Beginners

The rmdir command

The rmdir command removes a directory. It has the following syntax:

rmdir directory

Here's an example:

$ rmdir /home/doug/images

Here, the /home/doug/images directory is deleted. Note that the directory must be empty to be removed, so you have to first delete any files in the directory.

[Previous] [Contents] [Next]

In this tutorial:

  1. Linux Commands
  2. Command Shell Basics
  3. Editing commands
  4. Wildcards
  5. Redirection and piping
  6. Environment variables
  7. Shell scripts
  8. Directory and File Handling Commands
  9. The cd command
  10. The mkdir command
  11. The rmdir command
  12. The ls command
  13. The cp command
  14. The rm command
  15. The mv command
  16. The touch command
  17. The cat command
  18. Commands for Working with Packages and Services
  19. The rpm command
  20. Commands for Administering Users
  21. The usermod command
  22. The chage command
  23. The passwd command
  24. The newusers command
  25. The groupadd command
  26. The groupdel command
  27. Commands for Managing Ownership and Permissions
  28. The chgrp command
  29. The chmod command
  30. Networking Commands
  31. The ipconfig command
  32. The netstat command
  33. The ping command
  34. The route command
  35. The traceroute command
  • Main Page
    • Home Page
  • Microsoft Office
    • MS Access
    • MS Excel
    • MS PowerPoint
    • MS Word
  • Operating Systems
    • Windows 10
    • Windows 7
    • Windows Vista
    • Windows XP
  • Miscellaneous
    • Adobe Photoshop
    • A+ Certification
    • iPad
    • iPhone
    • Networking
    • PHP
© 2025 SourceDaddy - Privacy Policy - Legal - sourcedaddy |at| gmail.com