On 07/17/2014 12:06 PM, Bob 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?
>
> Thanks
>
> Bob
>
>
>
> Commands I have tried as root are below:
>
> root@Comp-NC:/home/bob/Public# rm -rf Windows 7
>
> root@Comp-NC:/home/bob/Public# ls
> Aptana Studio 3  winbox.exe  Windows 7
>
>
> root@Comp-NC:/home/bob/Public# cd Windows 7
> bash: cd: Windows: No such file or directory
>
>
> _______________________________________________
> You could try rm -rf Windows\ 7
You could try rm -rf windows\ 7
The backslash is important where there are spaces in a file name.
  Out of curiosity you could also ls -aFl windows\ 7  to view the files, 
the ownerships and permissions.
Roger
_______________________________________________
luv-main mailing list
[email protected]
http://lists.luv.asn.au/listinfo/luv-main

Reply via email to