Score:1

How to exit from snap watch command?

ad flag

I launched a snap install command from one bash terminal and I wanted to see the installation progress in another terminal.

I first ran snap changes to figure out the ID value to watch for, then ran snap watch <ID>. Installation progress showed as expected.

However, when I do CTRL-C or q, the watch command won't quit. Instead it just piles up another watch progress line on the console.

How am I supposed to quit watching, without interrupting the actual installation process?

Score:0
us flag

The only way I am currently aware of is forceful termination of the watch task. To kill snap watch send SIGQUIT by pressing CTRL+\.

Note that it should only terminate watching, not the action it watches, so. i.e. download task should continue (which you can verify with snap changes or snap tasks <ID>).

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.