Let’s say I am deleting a pod and plan to immediately edit a file afterward. Is it safe to send the
kubectl delete to the background by appending
& to the end of the command? E.g.:
kubectl delete pod app123 &
I think (but not 100% positive) that another way to accomplish this is to execute the command normally, press CTRL+Z, then type
bg to send it to the background. This might work if you forgot to add the
& but don’t feel like waiting for the command to complete. Any thoughts?