- From the desktop, press Alt+F2 to launch the Run Application window.
- Type: gnome-terminal then press Enter. This will launch a user terminal (similar to Windows command prompt).
- Navigate to the parent directory that contains the files / directories you wish to remove by typing:cd <directory> Press Enter to execute the command.
- Verify that you are in the correct directory by typing:ls -al then press Enter. You should see the target files / directories. The
-aloption is used to display any hidden files. - The next step will completely and irrevocably delete ALL files and directories in the current or working directory. Be absolutely certain that this is what you intend to do.
- At the terminal prompt, type:rm -rf * then press Enter. The contents of the working directory have been removed.
- Type:ls -al then press Enter to confirm that the directory is now empty.