Linux Commands Examples

A great documentation place for Linux commands

ctrlaltdel

set the function of the Ctrl-Alt-Del combination


see also : init

Synopsis

ctrlaltdel hard|soft


add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!

examples


no example yet ...

... Feel free to add your own example above to help other Linux-lovers !

description

Based on examination of the linux/kernel/sys.c code, it is clear that there are two supported functions that the Ctrl-Alt-Del sequence can perform: a hard reset, which immediately reboots the computer without calling sync(2) and without any other preparation; and a soft reset, which sends the SIGINT (interrupt) signal to the init process (this is always the process with PID 1). If this option is used, the init(8) program must support this feature. Since there are now several init(8) programs in the Linux community, please consult the documentation for the version that you are currently using.

ctrlaltdel is usually used in the /etc/rc.local file.

availability

The ctrlaltdel command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/.

files

/etc/rc.local


see also

simpleinit, init


author

Peter Orbaek (poe[:at:]daimi.aau[:dot:]dk)

How can this site be more helpful to YOU ?


give  feedback