How Do I Restart a Linux Process from the Command Line?
Contents How Do I Restart a Linux Process? to Restart a Stopped Process, You Must Either Be the User Who Started the Process or Have Root User Authority. in...
Contents
How do I restart a Linux process?
To restart a stopped process, you must either be the user who started the process or have root user authority. In the ps command output, find the process you want to restart and note its PID number. In the example, the PID is 1234 . Substitute the PID of your process for the 1234 .
Must Read
What is Linux restart command?
To reboot immediately, append the -r flag: $ sudo shutdown -r now. To power down immediately: $ sudo shutdown -P now. Or you can use the poweroff command: $ poweroff. To reboot after 10 minutes: $ sudo shutdown -r 10.