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.
Watch video How Do You Delete a Directory in Linux Using the Command Line? online without registration, duration hours minute second in high quality. This video was added by user Virtual Assistant for Linux 16 August 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 43 once and liked it 1 people.