sudo apt update && sudo apt upgrade -y
I want ask you these cammand is also valid or invalidYou need 'sudo'. The operation (using apt to check for updates) requires elevated permissions. So, that's why you need 'sudo'.
Code:sudo apt update && sudo apt upgrade -y
That should get you updated and upgraded. If you get any errors, let us know.
apt-get updateI want ask you these cammand is also valid or invalid
Okk...thank you so muchYou can just use 'apt' instead of 'apt-get'. Copy and paste the command into your terminal. It'll update the database of files available and then upgrade those that need to be upgraded.
You'll be asked to type your password. Do so. Nothing will show on the screen while you're typing your password - this is normal and the expected behavior. Just type it carefully and then press the enter button when you're done.
Okk.. thankx for informationUnder normal operation, many Linux distros will check for updates automatically. They'll then ask you if you want to update. When they ask, it's generally a good idea to do so. There are good security and stability reasons to keep your OS updated.