The Following User Says Thank You to ossipena For This Useful Post: | ||
|
2010-11-09
, 13:46
|
|
Posts: 2,121 |
Thanked: 1,540 times |
Joined on Mar 2008
@ Oxford, UK
|
#12
|
all i did was copied and paste some x term codes in the hope of getting rid of flight mode in nitdroid. I was reading http://forum.nitdroid.com/index.php?topic=538.0 and executed copy and paste command of thread writer
and no I didn't mount nitdroid partition in /and before doing this so result was first line said error and probably rest of the line got executed. as i have already mentioned, i copied all those lines first then paste in x term, and i think i was already root before doing this. later I treid the mount lineCode:cd /and/data rm -rf * mkdir logs chmod 777 logs cd / umount /and
rm -rf /and/data/* mkdir /and/data/logs chmod 777 /and/data/logs
The Following 2 Users Say Thank You to pelago For This Useful Post: | ||
|
2010-11-09
, 13:47
|
|
Posts: 2,121 |
Thanked: 1,540 times |
Joined on Mar 2008
@ Oxford, UK
|
#13
|
|
2010-11-09
, 13:52
|
|
Posts: 1,411 |
Thanked: 1,330 times |
Joined on Jan 2010
@ Tatooine
|
#14
|
|
2010-11-10
, 03:28
|
Posts: 440 |
Thanked: 160 times |
Joined on Aug 2010
@ Las Vegas, NV
|
#15
|
|
2010-11-10
, 10:13
|
Posts: 992 |
Thanked: 738 times |
Joined on Jun 2010
@ Low Earth Orbit
|
#16
|
what i read by now is that rm -rf * deletes (force unix/linux to forget) all the content of ALL MOUNTABLE DRIVES. is it the same if I browse to particular directory or is it that it will delete contents of those directory only as you(pelago) said?
The Following 2 Users Say Thank You to kureyon For This Useful Post: | ||
|
2010-11-10
, 16:47
|
Posts: 642 |
Thanked: 486 times |
Joined on Aug 2008
|
#17
|
rm -rf ./*
|
2010-11-10
, 17:09
|
|
Posts: 2,355 |
Thanked: 5,249 times |
Joined on Jan 2009
@ Barcelona
|
#18
|
With
you are 100% sure you are ONLY deleting stuff in the CURRENT directory (. = current dir and .. = parent dir)Code:rm -rf ./*
|
2010-11-11
, 01:52
|
Posts: 440 |
Thanked: 160 times |
Joined on Aug 2010
@ Las Vegas, NV
|
#19
|
The problem here is that parent poster copied a lot of commands he had no idea what they did, and even then, ignored the error that the first command in the set gave him, and blindly proceeded to destroy his filesystem.
|
2010-11-11
, 02:06
|
|
Posts: 2,355 |
Thanked: 5,249 times |
Joined on Jan 2009
@ Barcelona
|
#20
|
Want to know something?
K.I.S.S. approach:
wiki category:beginners. Browse it through and you'll be much wiser!
If the link doesn't help, just use
Google Custom Search