I connect to Internet using
sudo wvdial on Fedora 14. The terminal needs to be kept working. My requirement is to run
yum update in a separate terminal, then kill wvdial & its parent terminal and do
init 0 in a single command using
Is there a way to kill child (here,
sudo wvdial) and parent (here, terminal running wvdial) with a single command which can let me do the following?
su -c 'yum update; kill-child-parent-processes; init 0'
kill-child-parent-processes signifies the method using which I can kill
sudo wvdial and its parent terminal.