Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
ok so I am just interested in different ways to shut a linux system down......atleast 3 of them are:
shutdown -h now
telinit 0
halt
anyother cool methods......just curious......i m sure there must be more , ofcourse that's why I am
"A-dummy" ......ok let's increase the options to include even rebooting commands too.....
ok so poweroff is also a method (i didn't knew).....i tried kill -9 1 but init seems to respawn itself.....however
if i send
kill -2 1
to init ,the system is rebooted!! .....exclaimation marks are for likes of me who didn't knew this option ,if u
knew this one already dont feel offended .....i also tried to increase number of processes by executing
a script which execute itself.....but that didn't worked & shell was exited.....& btw
init 0
also halts it down.....
it sends kill signal to all processes except the one in which it is....so the system freezes....but it has not
yet been halted/rebooted??.....but what else r u going to do with it now
heheh. Well, if I recall correctly, I believe you can code a script and just make about anything you want shutdown your computer.
i.e. gotohell, sleeptight, etc...I'm sure you can be very creative with this. Then you can impress your friends with it,
right now i m impressed with myself .....while playing with it,
i made certain changes (or whatever it was) & now i cant
start my X server....right now i m in windows (forgive me God)
doing search on google.....just one thing is coming to mind:
if things can go wrong ,then they will.....
hehhe, dude make a partition without anyone noticing, boot it with a disk every time so no one even knows you got linux in there, and just work on that, hehehheh
when i do a shutdown -h now, all processes are killed but the screen displays a power down message. how can i get the machine to automatically shut completely off, as in green light goes off.
and to shut off i just hit ctrl+alt+del, then hit the off button when it's rebooted.
Originally posted by zLinuxz no one even knows you got linux in there, and just work on that, hehehheh
Atleast windows users can never notice it,that will be demanding
too much from them...or may be u can change all the appearance
of that linux completely to look like XP (in linux u can do it).....to
give it more realistic appearance ,write a script which brings ur
comp to halt every 5-15 mins with a blue screen .....perfect
windows....
haha, nice one A-dummy. Then the windows guy is like....hmm I wonder if this is a new feature in Win2k, lol
Goatdeamon, I think you need to find out if your computer is first capable of doing that, check in your bios. also...if you have windows you can check it that way, if it automatically complete shutsdown.
[i]Goatdeamon, I think you need to find out if your computer is first capable of doing that, check in your bios. also...if you have windows you can check it that way, if it automatically complete shutsdown. [/B]
wup i have a dual boot and windows does auto shut off the computer.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.