How to stop a script started by nohup in Linux?

To stop a script launched with nohup in Linux, you can follow these steps:

  1. Find the process ID (PID) of a running script using the ps -ef | grep