×

This article covers the method of wiping off all the data while deleting a Linux Mint 20 virtual machine from the virtual box. In fact, After this process, you might use this freed-up storage space for installing any other important application or even installing the Linux Mint 20 virtual machine again without any previously saved data.


This article covers how to Remove Files and Directories Using Linux Command.

The procedure to remove all files from a directory:

  • Open the terminal application.
  • To delete everything in a directory run: rm /path/to/dir/* .
  • To remove all sub-directories and files: rm -r /path/to/dir/* .


This article will guide you on how to delete a #directory in #Linux using the #rm, rmdir and find commands. It is quite easy to delete a directory in Linux whether it contains files and other #subdirectories, or simply if it is empty. To delete (i.e. remove) a directory and all the sub-directories and files that it contains, navigate to its parent directory, and then use the command rm -r followed by the name of the directory you want to delete (e.g. rm -r directory-name ). The “-rf” flag, along with the “rm” command, removes a directory recursively without prompting the user for confirmation.



More Linux Tutorials

We create Linux HowTos and Tutorials for Sys Admins. Visit us on IbmiMedia.com

Also for Tech related tips, Visit forum.outsourcepath.com or General Technical tips on www.outsourcepath.com