The first command updates the package lists, and the second command upgrades any packages that have new versions available. The -y option automatically confirms any prompts, but you can omit it to ...
Like any computer, you should be aiming to shut down your Raspberry Pi properly when you’re done using it. You can do this by executing the sudo shutdown -h now command in Terminal, clicking the Pi > ...