Linux – rmdir command






rmdir

  • rmdir – remove directory
  • This deletes a directory.
  • The directory must be empty of both files and sub-directories otherwise you will get an error.
    • Example:
  • You can delete several directories with a single command.
    • Example:
  • There are several flags that you can use to delete get a very powerful delete option.
    • -r Recursively remove directories and subdirectories
    • -f Remove all files,whether write-protected or not in a directory without prompting the user.
  • While not ‘technically’ a directory removal command, it does the job.
    • Example:

 

 


Partner Sites

VideoToGifs.com

EasyOnlineConverter.com

SqliteTutorials.com


Stuff I use to make videos

Windows notebook – http://amzn.to/2zcXPyF

Apple MacBook Pro – http://amzn.to/2BTJBZ7

Desktop - http://amzn.to/2zct252

Microphone – http://amzn.to/2zcYbW1

notebook mouse – http://amzn.to/2BVs4Q3

Screen Recording Software – Camtasia