I am running a script called mystepper.py in the background (/home/pi/mystepper.py); it moves two stepper motors for my RPi Camara. I would like to understand the easiest way to kill the mystepper.py script by name if possible. I then plan to create an alias in /home/pi/.bashrc so I can control the camera using my iPhone with the iFreeRDP app. The iFreeRDP app and similar apps have a broken key board such that the period and space bar don't work, thus the need for a shortcut alias to remove the need for spaces and periods.
After killing that script, I will make stepper motor position adjustments with /home/pi/moveit.py and then retart mystepper.py.
So if someone could show me the least complex method of killing a script, that would be great!