I\'d like to kill a process/script with a simple command using. At the moment I do the following
ps -ef | grep myscriptname kill 123456
But
you can try this simple trick pkill -f "my_sript_filename"
pkill -f "my_sript_filename"