15
rated 0 times
[
15]
[
0]
/ answers: 1 / hits: 3636
/ 3 Years ago, mon, may 17, 2021, 11:21:19
On a regular basis I forget to add && shutdown -h now
to a long-running process. Is there any way to add a shutdown -h now
command after the first command was invoked? It is not intended to interrupt the ongoing process. Maybe it is possible to watch the PID?
More From » command-line