Hello,
In the Windows OS, you can end a program and with the New Task button start it again. How about Linux?
With "kill -9 " Process ID" " we can stop a program but how about start it again? Any command?
Thank you.
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
End Task and New Task in linux.
-
- Posts: 677
- Joined: 2018-05-10 19:34
- Location: Some where out west
- Been thanked: 1 time
Re: End Task and New Task in linux.
Your welcome.
Key words =
Hint:
Key words =
Code: Select all
With "kill -9 " Process ID" " we can stop a program but how about start it again?
In this tutorial we see how to manage processes with the Linux command line. ... If you close the xload window, the xload program terminates and the prompt returns. ... we are going to launch the xload program again, but this time we will put it in ... With ps, you are given a process id (PID). ... [me@linuxbox me]$ kill -9 2931 ...
Please Read What we expect you have already Done
Search Engines know a lot, and
"If God had wanted computers to work all the time, He wouldn't have invented RESET buttons"
and
Just say NO to help vampires!
Search Engines know a lot, and
"If God had wanted computers to work all the time, He wouldn't have invented RESET buttons"
and
Just say NO to help vampires!
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: End Task and New Task in linux.
SIGHUP might work and some programs employ SIGUSR1 or SIGUSR2 for restarts:
^ Replace $process with the actual name of the process.
EDIT: see signal(7) for a full list of signals.
Code: Select all
pkill -hup -x $process
pkill -usr1 -x $process
pkill -usr2 -x $process
EDIT: see signal(7) for a full list of signals.
deadbang
-
- Posts: 677
- Joined: 2018-05-10 19:34
- Location: Some where out west
- Been thanked: 1 time
Re: End Task and New Task in linux.
You could do it that way as well, type in the program name, and hit enter.
Please Read What we expect you have already Done
Search Engines know a lot, and
"If God had wanted computers to work all the time, He wouldn't have invented RESET buttons"
and
Just say NO to help vampires!
Search Engines know a lot, and
"If God had wanted computers to work all the time, He wouldn't have invented RESET buttons"
and
Just say NO to help vampires!