ubuntu command for delete please - resolved (sort of)
Shaun Branden
shaun at pcuse.com
Mon Dec 25 00:47:47 CST 2006
On Mon, Dec 25, 2006 at 10:16:08AM +1030, Denise Tzumli wrote:
> The sort of resolution is I tried the simple:
>
> rm /windows/programfiles/adobe was told no such file or directory
Try going into each directory and having a look around before deleting
things. For instance:
cd /windows
ls
this way you can make sure the directory exists and double check that
you are removing the right files.
> then rm /Windows/Program Files/Adobe and was told
> rm: cannot remove `/Windows/Program': No such file or directory
> rm: cannot remove `Files/Adobe': No such file or directory
linux/ unix shells usually use spaces to separate arguments to commands,
so what you have done here is:
rm /Windows/Program
rm Files/Adobe
Be careful with this one as it might bite one day.
For instance rm -rf /Windows/Program Files/Adobe as the super user would
probably cause you quite a headache
You could try:
rm /Windows/Program\ Files/Adobe
or
rm "/Windows/Program Files/Adobe"
to make the shell happier. Personally I would carefully look around each
directory first though.
> Methinks I'm looking in the wrong place, perhaps /Windows is
> actually the windows partition.
> Anyway, thanks for the help so far, I'll fiddle around with these
> things for a bit first, following up the references. As you are
> all aware along the journey to find the actual fix, you get to
> learn all sorts of other things along the way :)
shaun
--
Top-posting "This term is generally used pejoratively with the
implication that the offending person is a newbie, a Microsoft
addict (Microsoft mail tools produce a similar format by default),
or simply a common-and-garden-variety idiot." - Eric Raymond
More information about the linuxsa
mailing list