Delete directory linux command
How can you delete a directory in Linux?
Answer
To remove a directory in Linux, use the command rmdir directory_name for an empty directory or rm -r directory_name for a directory that may contain files. Always be cautious, as this action is irreversible.