How Do You Delete a Directory in Linux Using the Command Line?

Опубликовано: 16 Август 2021
на канале: Virtual Assistant for Linux
43
1

Want to know how you delete a directory in Linux Using the command line? Then VAL will show you in this video how to delete a directory in Linux Using the command line.

To remove an empty directory, use the rmdir command.

If the directory still contains files or subdirectories, the rmdir command does not remove the directory.

To remove a directory and all its contents, including subdirectories and files, use the rm command with the recursive option, -r. be cautious the directories that are removed with rmdir command cannot be recovered.


Смотрите видео How Do You Delete a Directory in Linux Using the Command Line? онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал Virtual Assistant for Linux 16 Август 2021. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 43 раз и оно понравилось 1 посетителям.