Link to home
Start Free TrialLog in
Avatar of ravenpl
ravenplFlag for Poland

asked on

Send ctrl-alt-del from application

What I want is

echo 1 > /proc/sys/kernel/ctrl-alt-del
send ctrl-alt-del to kernel, so it reboots immediatelly. But how?

Alternativelly, how to reboot machine immediatelly (no sync and stuff). shutdown -rn now fails here(becouse of failed and still mounted disk).
Assume sysrq is not working here...
Avatar of F. Dominicus
F. Dominicus
Flag of Germany image

Why do you think a ctrl-alt-del reboots a Linux box immediatly?
I have no idea how far you got with shutdown -rn. You want to use
shutdown -rf  

and you want to run this command as root.
Friedrich

ASKER CERTIFIED SOLUTION
Avatar of Duncan Roe
Duncan Roe
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ravenpl

ASKER

Splendid - thx.