Skip to content

Instantly share code, notes, and snippets.

@netdesignr
Last active June 16, 2018 20:18
Show Gist options
  • Save netdesignr/7e84edfd2cc3253cd9059d2959de9e54 to your computer and use it in GitHub Desktop.
Save netdesignr/7e84edfd2cc3253cd9059d2959de9e54 to your computer and use it in GitHub Desktop.
Remove a full directory in Linux
# To remove a directory that contains other files or directories, use the following command
rm -r mydir
# Delete everything with no prompt messages
rm -rf mydir
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment