[ALUG] Removing unwanted files

Keith Watson keith.watson at kewill.com
Mon Feb 5 10:43:23 GMT 2007


> From: Barry Chater Sent: 04 February 2007 20:13
> 
> Hi
> I have got a problem that i cannot seem to solve. i copied a 
> folder to the root directory using the terminal in gnome. I 
> then could not get the file to extract using the gzip_d 
> pavcl_linux.tgz command only to get the file or directory not found.
> so i got fed up and decided to remove the file 
> pavcl_linux.tgz using the rm pavcl_linux.tgz command only to 
> get the same reply.tried all these with sudo in front, no 
> success. also typed the i command to get to root access but 
> still no success.
> then i thought i would use the file browser to delete the 
> file but it tells me that i do not have permission to move or 
> copy the file. this is really spoilling my enjoyment with 
> linux as i cannot seem to be able to copy or remove files 
> with the terminal even though i copy the text exactly from 
> the documentation, and ubuntu book.
> what am i doing wrong.
> here is some of what i am doing
> barry2006 at barry2006-laptop:~$ sudo rm pavcl_linux.tgz
> Password:
> rm: cannot remove `pavcl_linux.tgz': No such file or 
> directory barry2006 at barry2006-laptop:~$

try;

sudo rm /pavcl_linux.tgz

or, if you're really feeling brave

sudo rm -f /pavcl_linux.tgz
 
> 
> and this is the file i am trying to remove
> 
> barry/pavcl_linux.tgz
> 
> barry


Regards,

Keith
____________
'I always use the word impossible with the greatest caution.' -   -
Wernher Von Braun




More information about the main mailing list