Update Ubuntu server via command line

Published on Jul 23, 2015 & tagged in Linux, Linux Commands, Ubuntu, Ubuntu Server

When Login in to an Ubuntu server via command line ( using SSH ), we can see an update message with the number of updates available. During server management sessions, regularly I want to update current distro using command line.

To run an update on Ubuntu server, Use below command in terminal.

sudo apt-get update && sudo apt-get upgrade

If you then re-run this command, you will only be prompted for any further updates if even further (newer) updates have been released.

Do you need any help on Linux , Linux Commands , Ubuntu & Ubuntu Server?

I'm happy to help you. Just fill the form on contact page & I will get back to you within few hours.

Recent Posts

  1. The add_image_size() function - WordPress best practices
  2. Remove page title using filter - WordPress
  3. Comment out code in Liquid Template Language
  4. Remove Plugin Stylesheets and Scripts - WordPress
  5. Get blog page URL - WordPress