Score:0

prevent closing terminal window from stopping task started with "&"

es flag

I can start a command in the CLI interface and have it run in the background using the "&" symbol. Here, I start a command and hide all stderr and stdout and also send it to the background:

/home/$USER/xctu/XCTU-NG/app &> /dev/null &

When I close the terminal that ran this command, the program also quits. How do I close the terminal window that ran this command without quitting the program? How do I change how I am sending the command to the background so as to separate it from the terminal window I started it from?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.