maemo.org - Talk

maemo.org - Talk (http://talk.maemo.org/index.php)
-   Newbie (http://talk.maemo.org/forumdisplay.php?f=26)
-   -   help... howto delete a file with xterm (http://talk.maemo.org/showthread.php?t=7501)

kudos1uk 07-10-2007 08:40 AM

help... howto delete a file with xterm
 
Newbie needs to delete a file:

Delete the GPE Calendar file : /home/user/.gpe/calendar

I think I need Xterm?

I did that and typed "sudo gainroot" --- am I on the right lines?

This appeared to take me to the /home/user/ directory but when I typed /home/user/.gpe/ it says "access denied".

I'm a stuck newbie who's a bit lost now.

Milhouse 07-10-2007 08:44 AM

Re: help... howto delete a file with xterm
 
to change directory:

Code:

cd /home/user/.gpe
to delete a file

Code:

rm /home/user/.gpe/calendar
You probably don't need to be root to delete the above file... access root sparingly and with care. :)

kudos1uk 07-10-2007 09:00 AM

Re: help... howto delete a file with xterm
 
Thanks Millhouse worked a treat, I should have guess it was CD just like the old dos commands I used to use.

well not all... tried "dir" which did not work....

debernardis 07-10-2007 09:09 AM

Re: help... howto delete a file with xterm
 
This could help: http://www.oreillynet.com/linux/cmd/
BTW dir becomes ls

kudos1uk 07-10-2007 12:15 PM

Re: help... howto delete a file with xterm
 
Quote:

Originally Posted by debernardis (Post 58643)
This could help: http://www.oreillynet.com/linux/cmd/
BTW dir becomes ls


Very nice, thanks for that.

Fayaz Ali 10-25-2012 05:28 AM

Re: help... howto delete a file with xterm
 
Hello Friend I want to delete all files and director in /and folder but it says access denied what would i have to do I extract it Android Files in Root Director plz help me

Fayaz Ali 10-25-2012 05:30 AM

Re: help... howto delete a file with xterm
 
Quote:

Originally Posted by debernardis (Post 58643)
This could help: http://www.oreillynet.com/linux/cmd/
BTW dir becomes ls

plz help me

soryuuha 10-25-2012 05:30 AM

Re: help... howto delete a file with xterm
 
ls -al and see who's the owner of the path

sifo 10-25-2012 05:34 AM

Re: help... howto delete a file with xterm
 
To delete the whole /and dir
Code:

root
rm -r /and


cddiede 10-25-2012 06:14 AM

Re: help... howto delete a file with xterm
 
Quote:

Originally Posted by Fayaz Ali (Post 1285256)
Hello Friend I want to delete all files and director in /and folder but it says access denied what would i have to do I extract it Android Files in Root Director plz help me

Usually, when I see someone who's attempting a recursive directory deletion, and is stymied by the fact that it's permission denied, that person is attempting to delete something they shouldn't.

Yes, rm -Rf as root will accomplish your task, but even money is saying that you won't be happy with the result.


All times are GMT -4. The time now is 07:51 PM.

vBulletin® Version 3.8.7