
Thanks Avi and David for your responses. The file is now removed. My ignorance never ceases to amaze me :-) Bob On 17/07/14 12:17, David wrote:
On 17 July 2014 12:06, Bob <forums@wtaustralia.com> wrote:
Hello All, I am running the latest Kubuntu. I am unable to remove a Directory/file from my Home/Public directory. The directory contains a Windows 7 .vdi file - about 23GB
The command line is telling me that the directory doesn't exist but then lists it? Is the problem caused by a space in the name and if so how do I overcome this?
Commands I have tried as root are below:
root@Comp-NC:/home/bob/Public# rm -rf Windows 7 That command instructs to to remove two items, one named Windows and another one named 7.
If you wish to irrevocably remove a directory named: Windows 7 and all its contents, one way is use the command
rm -rf "Windows 7"
For explanation why the quote marks are required, read this: http://mywiki.wooledge.org/BashGuide/CommandsAndArguments
I highly recommend that wiki.