Welcome!

Unlock your personalized experience.
Sign Up
Tag

Step-by-step Linux tutorial. Articles, Guides & Tutorials

1 posts

How to Delete a Directory in Linux Safely

Use rmdir for an empty directory and rm with its recursive option for a directory whose contents you have agreed to remove. Check the current directory, the exact target and any hidden entries first. Command-line removal normally bypasses a desktop trash service and is not a backup or secure-erasure method.