i'll need some help to get back the prompt, right now i'm executing this block and don't throw me back the prompt, i'm using &
at the end for run this command as a background task. how can get back to prompt after execute the script.
#!/bin/sh
sudo su - user << EOF
nohup program -p4xxx &
EOF
nota: if i press ctrl + c - kill the program.
Thank you in advance.