When you are comparing the version of two jar files less than (<) and greater than (>) or equal to (=) operator will not work because the version of any file is always in a combination of characters and numbers.

So to compare the version of files sort command is used in the shell script.

In the script, the value of values of variables are hardcoded but we can fetch the value of variables by reading file names.

In if condition the file names are sorting by using sort -V command in ascending order and print topmost entry by…

Bash Shebang
Bash Shebang
Bash Shebang

In our routine work of Linux System Administrator, we must have to keep maintain the storage of the Linux Servers so that the system can be served its service adequately.

Here I have introduced a very simple shell script that can be used to keep only the last two modified files in any Linux Server.

This shell script is compatible with all flavors of Linux Distribution.

In this script, the value of variable keep can be set as per our requirement that how many files we want to keep in the server.

The code of this script can also…

Ubuntu Gnome Desktop
Ubuntu Gnome Desktop
Gnome Desktop

If you want to install Gnome Desktop on Ubuntu 18.04 Server then the easiest way is to use the tasksel tool to install the Ubuntu Desktop.

Before starting the installation of the tasksel tool we need to update and upgrade the server.

To run the update/upgrade process, log into your server and execute the following two commands:

sudo apt-get updatesudo apt-get upgrade -y

Tasksel Installation

Tasksel is a Debian/Ubuntu tool that installs multiple related packages as a co-ordinated “task” onto your system.

In order to install tasksel execute the following command:

sudo apt-get install tasksel -y

Once the installation is completed…

TightVNC Viewer is the simplest application use to take the remote access of any Ubuntu and CentOS Distribution, only just need to enable VNC Protocol in Linux Distribution System.

Enable VNC from Ubuntu 20.04, 18.04, and 16.04 systems and get access from windows using TightVNC viewer software.


The Windows system must be in a LAN network. If it is not then get connected using VPN.

Settings in Ubuntu Systems:

The settings are much similar in all versions of the Ubuntu system. The steps to enable follow below:

STEP 1: Install dconf-editor in ubuntu systems from ubuntu software manager or from the terminal.

Method 1: Install dconf-editor from the terminal.

Run below following commands to install dconf-editor.


Siddharth Lakhani

System Engineer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store