rmdir command is used for removing any directory in Linux operating system.
Options:
rmdir -p –parents remove DIRECTORY and its ancestors
rmdir -v, –verbose output a diagnostic for every directory processed
You Might Also Like:
- Linux: Removing Files When the file is not useful anymore you may remove it via rm command. Unlike to GUI (Graphical User Interface) Linux terminal don’t have a...
- The –help Option in Linux –help option gives a short description about using any command when typed in the terminal followed by the particular command in which you need help....
- Linux: Displaying Directory Contents ls -l command option is used to display the contents of the directory in different formats. ls gives only a list of files of certain...
- Linux: Root Directory All Linux systems have a directory structure that starts at the root directory. The root directory is represented by a forward slash, like this: /....
- Linux: Copying Files For copying any file use cp command with target name. If you target the name of any directory then the source files would be transferred...
- Linux: Changing Current Working Directory You can change the current directory with the cd command (Change Directory). Example: cd /home (this will take you to home directory ...
- Linux: Creating Directories One can create his own directory in Linux using mkdir command. You have to give at least one parameter to mkdir, the name of the...
- What is Linux . Linux is the free open-source operating system which means that the source code is provided with the system and can be edited. It comes under...



