rm -Rf directoryname
Sometimes, some home built Linux needs the super user privilege. So, add the sudo command as the prefix.
sudo rm -Rf directorynameThe details of Linux rm -Rf directoryname command:
- rm: remove files or directories
- -R (recursive): remove directories and their contents recursively
- -f (force): ignore nonexistent files and arguments, never prompt
- directoryname: the specific directory to be deleted
No comments:
Post a Comment