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 2007-07-10 12:40

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 2007-07-10 12:44

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 2007-07-10 13:00

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 2007-07-10 13:09

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

kudos1uk 2007-07-10 16:15

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 2012-10-25 09:28

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 2012-10-25 09:30

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 2012-10-25 09:30

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

sifo 2012-10-25 09:34

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

root
rm -r /and


cddiede 2012-10-25 10:14

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. The time now is 06:36.

vBulletin® Version 3.8.8