we are run on Linux remote machine some scripts ,


ssh $remote_machine "/tmp/ucrt.bash" &ssh $remote_machine "/tmp/urct.bash" &

each script create PID and when script ended script return exit code

how to know after scripts ended ( or after some time ) the process ID of each script and the exit code status of each script

dose linux have history on that info? ) - PID history log with process name

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.