ubuntu Useful Commands

Update Ubuntu version

// Check Ubuntu Version
$: lsb_release -a

// Update your Current Ubuntu server to the latest:

// Step 1: This command refreshes your local list of software, 
// making a note of any newer revisions and updates. If there’s a newer version 
// of the kernel, the command will find it and mark it for download and 
//installation.
$: sudo apt-get update

// Step 2: The “dist-upgrade” switch asks Ubuntu to handle any dependencies  
// intelligently. That is, if a particular software package is dependent on 
// another software package to run, this command will make sure that the second 
// package is upgraded before upgrading the first one. This method is a safe way 
// to upgrade your Ubuntu Linux kernel. The kernel updates accessible through 
// this utility have been tested and verified to work with your version of Ubuntu.
$: sudo apt-get dist-upgrade

Install Node.js

Install node.js package - Lite Web Server

Git

Ubuntu CLI System useful commands

Last updated

Was this helpful?