Web lists-archives.com

Re: I'm a bit confused on how to upgrade to stretch 9.7





On Fri, Jan 25, 2019 at 6:39 PM David Wright <deblis@xxxxxxxxxxxxxxxxx> wrote:
On Fri 25 Jan 2019 at 23:46:22 (+0000), Katnip wrote:
> or sudo apt update && sudo apt dist-update
                                 ↑↑↑↑↑↑↑↑↑↑↑

I've never seen this one. What does it do?
Some sort of automatic editing of sources.list?

It's a shorthand way of executing two commands from one command line. The second command will only execute if the first command is successful (returns an exit status of zero). Here's a short test you can try:

$ false && echo First command was successful
$ true && echo First command was successful
First command was successful