Answers for "bash stop nohup job"

0

bash stop nohup job

# Basic syntax:
ps -ef | grep nohup
kill -9 job_PID
# Where:
#	- ps reports a snapshot of the current processes
#	- -e selects all processes
#	- -f list additional fields including PID
#	- kill -9 stops the process and cannot be blocked

# Example usage:
ps -ef | grep nohup
--> croy     46576 45095  0 16:14 pts/19   00:00:00 ...
kill -9 46576
Posted by: Guest on January-18-2022

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language