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