Active Topics

 


Reply
Thread Tools
kudos1uk's Avatar
Posts: 166 | Thanked: 26 times | Joined on Jun 2007 @ Hampshire, UK
#1
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.
 
Posts: 3,401 | Thanked: 1,255 times | Joined on Nov 2005 @ London, UK
#2
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.
 

The Following 2 Users Say Thank You to Milhouse For This Useful Post:
kudos1uk's Avatar
Posts: 166 | Thanked: 26 times | Joined on Jun 2007 @ Hampshire, UK
#3
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's Avatar
Posts: 2,142 | Thanked: 2,054 times | Joined on Dec 2006 @ Sicily
#4
This could help: http://www.oreillynet.com/linux/cmd/
BTW dir becomes ls
 

The Following User Says Thank You to debernardis For This Useful Post:
kudos1uk's Avatar
Posts: 166 | Thanked: 26 times | Joined on Jun 2007 @ Hampshire, UK
#5
Originally Posted by debernardis View Post
This could help: http://www.oreillynet.com/linux/cmd/
BTW dir becomes ls

Very nice, thanks for that.
 

The Following User Says Thank You to kudos1uk For This Useful Post:
Posts: 3 | Thanked: 0 times | Joined on Oct 2012 @ Pakistan
#6
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
 
Posts: 3 | Thanked: 0 times | Joined on Oct 2012 @ Pakistan
#7
Originally Posted by debernardis View Post
This could help: http://www.oreillynet.com/linux/cmd/
BTW dir becomes ls
plz help me
 
Posts: 771 | Thanked: 393 times | Joined on Feb 2012
#8
ls -al and see who's the owner of the path
__________________
5800XMN8808N9
 
sifo's Avatar
Posts: 1,359 | Thanked: 1,292 times | Joined on Oct 2011 @ Tartus.Syria
#9
To delete the whole /and dir
Code:
root
rm -r /and
__________________
[ N900-Crack ] [ The Purge ] [ New Smiles ] [ New icons ] [ ? ]
" Hey ! I've just met you and this is crazy, so install cssu maybe ? "
Please help out keeping Maemo.org alive, and consider donating.
https://www.facebook.com/ZoRk7
 

The Following 2 Users Say Thank You to sifo For This Useful Post:
cddiede's Avatar
Posts: 1,034 | Thanked: 784 times | Joined on Dec 2007 @ Annapolis, MD
#10
Originally Posted by Fayaz Ali View Post
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.
 

The Following 3 Users Say Thank You to cddiede For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 20:16.