×

This article covers how to install Audacity on your Linux Mint 20 system. In fact, Audacity is a very powerful and popular editing application that can be very useful when manipulating audio files. With the help of this useful tool, you will not only be able to record your audios but will also be able to edit them very efficiently.


How to Install Audacity via Snap Store and Launch on Linux ?

1. Perform system update:

$ sudo apt update

2. Install Snapd:

$ sudo apt install snapd

3. Install Audacity:

$ sudo snap install audacity

4. Once Audacity has been installed via Snap, run the Audacity application by searching for the term 'audacity' in the Application menu.

5. Click the Audacity icon to open Audacity.



This article covers the right steps to install the GDU disk usage analyzer on your Linux Mint 20 system. In fact, GDU Disk Usage Analyzer is a graphical disk usage analyzer for GNOME. It is inspired by godu, dua, ncdu, and df and is intended primarily for SSD disks to utilize parallel processing fully.



This article covers how you install Anaconda on your CentOS system. In fact, Anaconda manages many pre installed packages and that packages are helpful for data science, Machine Learning and Artificial intelligence applications. Once installed on your system, you can now start building your machine learning projects.



This article covers how to install, run, and remove Elinks browser on Ubuntu 20.04 LTS. In fact, Elinks runs in the terminal. Not only it saves bandwidth but also consumes a few system resources. On a server where resources are always constrained, elinks can be the best choice to access the web.


Step by step installation of elinks:

1: Update system:

$ sudo apt-get update

2: Install: elinks

Ater updating the OS run following command to install the package:

$ sudo apt-get install elinks


How to Completely remove elinks with all configuration files from Ubuntu?

Following command should be used with care as it deletes all the configuration files and data:

$ sudo apt-get purge elinks

or you can use following command also:

$ sudo apt-get purge --auto-remove elinks

Above command will remove all the configuration files and data associated with elinks package. You can can't recover the delete data, so, use this command with care.



This article covers the process of extracting compressed files to a specific directory in Linux. 

To Unzip files in particular directory or folder under Linux, run the command:

$ unzip {.zip-file-name}-d {/path/to/extract}



This article covers how Gnome-clocks can help keep track of time in multiple time zones for you. Now you can keep up with your work meetings and deadlines across the globe with a simple click. You can explore and use Gnome-clocks other features like timer, stopwatch, and Alarms and get a hundred percent performance out of it.

To install GNOME Clocks, simply run the below commands:

$ sudo apt install gnome-clocks



This article covers  every aspect of HTTrack settings. In fact, WebHTTrack backs up complete websites for offline access and modifies the links automatically. Despite ubiquitous Internet access, users often have good reason to create offline copies of websites – be it for archiving or to provide the content on your intranet. However, manual mirroring can be time-consuming and cumbersome. Tools like WebHTTrack can help, and they allow convenient updating of the content. Now you are ready to mirror any website using HTTrack on Ubuntu 20.04 Linux distribution. 



This article covers how to add programs to the Startup programs, launch the startup programs with a delay, and how to remove the programs from the Startup programs. In fact, Every time you boot in to an operating system, a number of programs start running automatically. These are called 'startup applications' or 'start up programs'.


What you will learn regarding managing startup applications on Linux systems:

  • Learn to add (almost) any program in the startup applications list to start them automatically at each boot.
  • Learn to remove a program from the startup applications list so that you have a faster system when you boot into it.
  • Learn to delay the running of a startup application so that it runs automatically but with a time delay. This way, not all startup applications consume the system resource simultaneously.



This article covers how to install HTTrack, run, and remove HTTrack on Ubuntu Linux system. In fact, HTTrack is an exclusive utility to copy web pages to a local disk for offline development and browsing to test web applications. 


How to Install Httrack on Kali Linux ?

You can install Httrack by running the following commands:

$ apt-get update
$ apt-get install httrack



This article covers the different methods you can apply to disable the screen lock in ubuntu. In fact, the screen delay option exists to conserve power when your computer is idle. If the default timeout settings are hindering your day-to-day workflow.

It is important to clarify that the screen lock provides a light security mechanism, if someone has physical access to your device, even with a screen lock, he will be able to gather the information from the disk or to reset the root password.



This article covers the installation procedure of the GDebi tool on a Linux Mint 20 system. In fact, Gdebi is a lightweight deb packages installer is default in Ubuntu Desktop. It help you to Install and Manage Packages you downloaded from 3rd Party sites and Software centre.


How to Install GDebi through Command Line ?

If you don't have gdebi installed you'll get the below error:

$ sudo gdebi command not found

1. Update the APT Repository:

$ sudo apt-get update

2. Install Gdebi now:

$ sudo apt-get install gdebi



This article covers the best way to Install Gparted 'Gnome partition' editor on CentOS 8 system. In fact, Gparted (also known as GNOME partition editor) is a free partitioning tool that uses GNU parted in the backend. Gparted is used to create, delete, or resize a partition without data loss.


How to Create a new partition on CentOS 8 system ?

  • To create a new partition you need to have some free space on your disk.
  • Do this by right-clicking on it now click on New option this will open a new window fill the required information, and then click on Add.
  • Finally, click on the right tick (✔) given on the top to apply all the operations.



This article covers how to allow remote connections to a MySQL server. Hosting databases and web servers on a separate database server can improve security, hardware performance, and enable you to scale resources quickly.

One of the most frequently observed database bottlenecks encountered by large projects is high MySQL traffic. Sure, we could talk about moving to a bigger cloud instance size, faster cores, and better storage, but that’s too obvious and costly. Instead, we would like to focus on several tips that can reduce traffic with a bit of configuration.


Methods to reduce Internet traffic when connecting to the remote host:

  • Disable and/or optimize the high-load features of your application.
  • Use ProxySQL to enable connection pooling. This will prevent your application from overloading MySQL with a multitude of concurrent connections. Another nice feature of ProxySQL helps cache query results for a certain period of time.
  • Monitor your databases for performance bottlenecks.
  • Identify and optimize queries that cause high load. If you use dbForge Studio for MySQL, you get a specialized tool—Query Profiler—which helps you deal with this task easily.
  • Add missing indexes and eliminate redundant and unused ones.
  • Conduct a thorough check of your background operations. Some of them can be postponed, some may work just as effectively with limited resources (e.g. limited concurrencies for batch jobs), and some may be perfectly running on replicas.



This article covers the different ways of assigning a static IP on your Debian 11 system which could either be via GUI or the terminal. In fact, DHCP or Dynamic Host Control Protocol dynamically assigns an IP address to an interface. It requires a DHCP server running in the network. In the static IP assignment, we manually assign the IP address, routing gateway, and DNS resolvers. Static IP assignment gives to more control on assigning an IP address and setting the DNS resolvers.



This article covers how to successfully install VirtualBox Guest Additions on Debian 11. In fact, Using VirtualBox you can run multiple guest operating system simultaneously. The Guest Additions provides some useful functionalities for guest machines like a mouse pointer integration, full screen view, shared folders, shared clipboard, better and accelerated and much more.



This article covers the different ways to check the health of your Hard Disk Drives and Solid-State Drives. In fact, SMART (Self-Monitoring, Analysis, and Reporting Technology) is a feature enabled in all modern hard disk drives and SSDs to monitor/test reliability. It checks different drive attributes to detect the possibility of drive failure. 


What is the need to check Linux system SSD and HDD drives ?

If you are a system administrator and responsible for managing Linux systems in Datacenter. Then, it is recommended to check the health of the SSD and HDD drives regularly. It will help you to identify failed drives and they can be replaced before any data loss occurs. S.M.A.R.T is a tool used to monitor the health status of SSD and HDD. It also allows you to perform on-demand tests on the drive.


How to Test SSD Health using Smartctl ?

Smartctl is a command-line utility tool that can be used to check S.M.A.R.T-enabled HDD or SSD status in the Linux system.

Smartctl utility tool comes with the package smartmontools. Smartmontools is available by default in all Linux distributions including Ubuntu, RHEL and Centos and Fedora.

To install smartmontools in Linux, run the below command:

$ sudo apt install smartmontools 

To Start Smartmontools service, execute the below command:

$ sudo /etc/init.d/smartmontools start

Smartd service will start automatically after the successful installation.

If not started, start smartd service:

$ sudo systemctl start smartd



This article covers how to get information of the tables in the MySQL database. The following illustrates the syntax of the MySQL SHOW TABLES command:

SHOW TABLES;



This article covers methods to install GParted on a Linux Mint 20 system. In fact, GParted is an open-source GUI-based disk partition editor originally developed for Linux GNOME Desktop. It allows you to create, resize, copy and paste, move, and repair disk partitions using easy-to-use GUI. Also it supports many filesystems including btrfs, ext2/ext3/ext4, fat16/fat32, lvm2, ntfs and xfs, and a variety of storage devices such as SATA/IDE/SCSI, Flash memory, SSD and RAID.


How to Install Gparted on Debian, Ubuntu or Linux Mint ?

Gparted is part of the base repositories on Debian-based Linux, so apt-get will do the job:

$ sudo apt-get install gparted


GParted enables you to easily manage your disk partitions:

  • Create partition tables, (e.g., msdos or gpt).
  • Create, move, copy, resize, check, label, set new UUID, and delete partitions.
  • Enable and disable partition flags, (e.g., boot or hidden).
  • Align partitions to mebibyte (MiB) or traditional cylinder boundaries.
  • Attempt data rescue from lost partitions.



This article covers how to install "exa" on your system and use it as a replacement for the "ls" command in Linux Mint 20. In fact, exa is a modern replacement for the venerable file-listing command-line program ls that ships with Unix and Linux operating systems, giving it more features and better defaults. It uses colours to distinguish file types and metadata. It knows about symlinks, extended attributes, and Git. And it’s small, fast, and just one single binary. Using this modern tool will simply allow you to visualize your files and directories in Linux in a much better way.



This article covers how to use ldd command and how to use in linux command line. In fact, the ldd is a command line tool that prints the shared library dependencies of an executable program or shared library. The ldd command can be useful when wanted to find missing dependencies.



This article covers how to install the Gparted partition editor on Ubuntu 20.04 system. GParted is a free partition editor that permits you to manage your partitions graphically. GParted allows you to copy, resize and move partitions without losing data. 


Main features of  GParted includes:

  • Shrink or increase your C: drive
  • Make room for new operating systems to be installed.
  • Perform actions on partitions such as creating, deleting, resizing, and moving, checking, copying, pasting, and labeling.
  • Tries to recover data from deleted partitions.
  • You can also manipulate file systems such as: btrfsm, xfs, exfat, nilfs2, reiserfs / reiser4, lvm2 pv, hfs / hfs+, fat16 / fat32, ext2 / ext3 / ext4, ufs, udf, ntfs, linux-swap.


How To install GParted on Ubuntu ?

1. Open the terminal by pressing 'CTRL+ALT+T' or search it manually in the activities and update the packages list:

$ sudo apt update

2. Execute the following command to install GParted on your system:

$ sudo apt install gparted



This article covers how to install Timeshift on Debian 10 from its stable repositories. Timeshift brings the System Restore feature in Windows or the Time Machine tool in macOS to Linux.


How to Restore Ubuntu, Debian & Linux Mint from Snapshot using Timeshift ?

  • To revert your system to Snapshot state, select the Snapshot you want to restore to and click the "Restore" tab on the top menu.
  • This will ask you to "Select target device" and options for /boot and /home.
  • Timeshift will Perform Dry run before doing the actual restore.
  • Confirm Actions to initiate Snapshot restore process.
  • Timeshift will start to sync Snapshot files to the root filesystem.
  • The system should reboot after the process is completed.



This article covers how to perform backing up and restoring a Linux Mint system using the timeshift tool to ensure that your Linux system data is fully secure with daily, weekly, and monthly backups schedule. In fact, Timeshift is a backup and system restoration utility for Linux operating systems similar to the System Restore feature in Windows operating system. This tool protects the system by taking incremental snapshots of a filesystem at regular intervals.



This article covers the step by step guide to install Ghostscript on your Linux system and use it for changing the resolutions of your desired PDFs. You can use Ghostscript command line tool for compressing a PDF file. Most Linux distributions include the open source version of Ghostscript already. However, you can still try to install it just to make sure.

On Debian/Ubuntu based distributions, use the following command to install Ghostscript:

$ sudo apt install ghostscript



This article covers how to keep check and balance on your file system. Ext4 is the default file system on most Linux distributions for a reason. It's an improved version of the older Ext3 file system. It's not the most cutting-edge file system, but that's good: It means Ext4 is rock-solid and stable.

If you're setting up partitions on your main Linux boot drive, you'll also want to create a swap partition of at least a few GBs in size when setting up those partitions. This partition is used for "swap space". It's similar to the paging file on Windows. Linux swaps out memory to the swap space when its RAM is full. This partition must be formatted as "swap" instead of with a particular file system.



This article covers Inkscape is an open source cross-platform vector graphics editor for Linux, Windows and Mac OS X. Inkscape basically supports SVG file generation and editing and supports PNG, OpenDocument Drawing, DXF, sk1, PDF, EPS and PostScript export formats. It comes with Color selector, Color picker, gradient editor, Pattern fills, Dashed strokes and Path markers.


How to Install Inkscape vector graphics editor on Ubuntu ?

1. You can download and Inkscape from the ubuntu software center or install it from the command line by adding its PPA. To install Inkscape via command line, open the terminal app and type and enter the below command:

$ sudo add-apt-repository ppa:inkscape.dev/stable

2. Then run the below command to update your system:

$ sudo apt-get update

3. Now, run the below command to install Inkscape on Ubuntu:

$ sudo apt-get install inkscape



This article covers different ways of opening an image in Linux Mint 20 terminal. 

To install ImageMagick on Debian or Ubuntu, run the following command:

$ sudo apt-get update && sudo apt-get install imagemagick



This article covers methods to install, configure, enable and then restart the Bluetooth service in the Ubuntu system. From time to time when you are using Ubuntu Linux and you want to use your Bluetooth headset to watch Netflix or YouTube videos you may experience some problems with the Bluetooth connection on Linux.


How to fix the issue "Bluetooth isn't available" when you wake up the system ?

When you put your system to sleep, there are chances Bluetooth won’t be available when you wake it up. In order to make everything work fine as before in most cases you will need to restart the system.

In order to fix this issue, we need to launch the Terminal and check whether we have the 4.48 version of Bluez. You can easily do that with this command:

$ dpkg --status bluez | grep '^Version:'

When you see the results, use the following commands to update to the latest version:

$ sudo add-apt-repository ppa:bluetooth/bluez
$ sudo apt-get update

After these commands, you will be able to update the Buez using:

$ sudo apt upgrade


How to fix the issue "Bluetooth headset won't play in A2DP (High Fidelity)" ?

In order to fix this issue, you will need to make your system detect the right type of Bluetooth device by adding a simple configuration file.

1. First, let's check whether we have all the dependencies installed:

$ sudo apt install pulseaudio pulseaudio-utils pavucontrol pulseaudio-module-bluetooth

2. When we verify it, we need to create or edit this audio config file:

$ sudo gedit /etc/bluetooth/audio.conf

Then, Include the next lines:

This section contains general options
[General]
Enable=Source,Sink,Media,Socket

3. Finally, save the file and start the Bluetooth service again:

$ sudo service bluetooth restart



This article covers different methods to determine the link speed of IP networks in Ubuntu. The link speed in a basic network refers to the maximum speed that a device can communicate with the wireless router. The link speed is expressed in bits/second and may vary depending on the device and the wireless access point.



This article covers different ways to check CPU is 64/32 Bit in Linux System. As a system administrator and IT professional, it is very important to know whether the system's CPU architecture is 32 bit or 64 bit.

To test whether your Linux computer has a 32-bit or 64-bit CPU and to see what version of Linux is installed, open your terminal, type the following command at the prompt, and then hit Enter:

$ lscpu


How to Determine if the Linux kernel is 32-bit or 64-bit ?

Using the uname command, you can determine if your Linux kernel is 32-bit or 64-bit by running the command below:

uname -a



This article covers different ways to measure and monitor your internet bandwidth in Linux Mint System. Speedtest CLI is a command-line tool that is tailored for system administrators and developers, and command-line enthusiasts. It provides the capability of checking the internet speeds straight from your Linux terminal.


Speedtest CLI allows you to do the following:

  • Check the bandwidth performance including metrics such as download, upload, and packet loss.
  • Check the connection from your PC or even a remote server and IoT devices such as Raspberry Pi.
  • Configure scripts to collect speed test results over a period of time.
  • Save results in CSV or JSON.


How to Check version of Speedtest-cli in Linux Mint ?

To check the version of the Speedtest-cli tool, run the command:

$ speedtest-cli --version



This article covers how to install Timeshift utility on Linux Mint system. Timeshift help in creating the backups of your precious data. Also,it is a fabulous tool that is used for the backup & restoration of the Linux operating system, it takes incremental backup after the first initial complete backup. TImeshit creates filesystem snapshots using Rsync or BTRFS. It has a nice GUI as well as support for CLI.



This article covers Zoom client's installation procedure. You can now proceed and start or join meetings with the security and reliability that Zoom provides.



This article covers how to easily install TeamViewer on AlmaLinux 8. With TeamViewer you can control computer systems running Linux, Windows and Mac OS remotely as if you were sitting right in front of that system. It also provides a spontaneous support to unattended computers such as servers.



This article covers method to set up OpenVPN on Ubuntu 20.04. OpenVPN is a full featured, open-source Transport Layer Security (TLS) VPN solution that accommodates a wide range of configurations. OpenVPN is an open-source, fast, popular program for creating a VPN (Virtual Private Network). It uses both the TCP and UDP transmission protocols, and VPN tunnels are secured with OpenVPN protocol with SSL/TLS authentication, certificates, credentials, and optionally MAC address lock as well as multi-factor authentication.

Here, you will set up OpenVPN on an Ubuntu 20.04 server, and then configure it to be accessible from a client machine.

To confirm that the OpenVPN service is up and running by checking its status using the following systemctl command:

$ sudo systemctl status openvpn



This article covers how to update firmware on Ubuntu using fwupd. Fwupd aims to make firmware update on Linux systems automatic, safe, and reliable. It is mainly used to update UEFI firmware. There are many companies that already support native firmware updates such as Dell, Lenovo, HP, Intel, and System76. 


To Install fwupd on Ubuntu, run the following command:

$ sudo apt install fwupd

To download and apply all updates for your system use the update option:

$ fwupdmgr update



This article covers how you can install Dropbox on the CentOS system and sync your local files and folders with Dropbox cloud storage. Dropbox is a useful file-sharing and syncing service that lets you sync files between different machines over the Internet for free. It's very useful for backing up your important documents, pictures, MP3 files, video files, and other data.



This article covers the best PDF Viewers you can install on your Ubuntu / Debian Linux system. 

PDF viewer list on Ubuntu 20.04 Focal Fossa Linux:

  • Evince PDF Viewer.
  • Okular PDF Viewer.
  • Atril PDF Viewer.
  • Adobe Reader PDF Viewer.
  • Zathura PDF viewer.
  • GNU gv PDF Viewer.


Okular is a default PDF viewer on Ubuntu 20.04 KDE Plasma Desktop. To install Okular PDF Viewer, simply run the command:

$ sudo apt install okular



This article covers different methods to modify Ubuntu Desktop Background as well as updating your background by using the command prompt. When you first install and run Ubuntu Linux the first thing you see when you log in is the default desktop. It has the Ubuntu brown color scheme and panels at the top and bottom of the screen. There are two predominant desktop environments available with Linux - the GNOME desktop and the KDE desktop. Which is the best desktop is matter of preference and heated disagreement in the Linux community. Both are excellent, feature rich desktops.


How to Change the desktop background in Ubuntu ?

To change the image used for your backgrounds:

1. Open the Activities overview and start typing Background.

2. Click Background to open the panel. The currently selected wallpaper is shown at the top.

3. There are two ways to change the image used for your backgrounds:

i. Click one of the background images which are shipped with the system.

Some wallpapers change throughout the day. These wallpapers have a small clock icon in the bottom-right corner.

ii. Click Add Picture… to use one of your own photos. By default, the Pictures folder will be opened, since most photo management applications store photos there.

4. The settings are applied immediately.

For another way to set one of your own photos as the background, right-click on the image file in Files and select Set as Wallpaper, or open the image file in Image Viewer, click the menu button in the titlebar and select Set as Wallpaper.

5. Switch to an empty workspace to view your entire desktop.



This article covers the different ways you can easily find out the interface link speed of any specific interface in Linux Mint 20. IP command is similar to ifconfig, which is used for assigning Static IP Address, Route & Default Gateway, and so on.

Also the ethtool command is used to query or control network driver and hardware settings:

# ethtool eth0



This article covers how to get the geographical information of a Linux server via the command line. IP addresses provide an easy way to track the location of the server in the world by using two useful APIs provided by ipinfo.io and ipvigilante.com to get the city, state, and country connected with a server.

To get the IP address geographic location of the server, we need to install curl command line downloader and jq command-line tool to process the JSON data from the geolocation APIs:

$ sudo apt install curl jq		#Ubuntu/Debian
$ sudo yum install curl jq #CentOS/RHEL
$ sudo dnf install curl jq #Fedora 22+
$ sudo zypper install curl jq #openSUSE

To get the server's public IP address, use the following curl command to make an API request to ipinfo.io in your terminal:

$ curl https://ipinfo.io/ip



This article covers different loop formats available in Bash Scripting. Bash For loop is a statement that lets you iterate specific set of statements over series of words in a string, elements in a sequence, or elements in an array.


The syntax of the for loop is:

for VARIABLE in PARAM1 PARAM2 PARAM3
do
  // scope of for loop
done



This article covers different methods for checking the battery status on CentOS 8. The battery status and ACPI https://en.wikipedia.org/wiki/Advanced_Configuration_and_Power_Interface information is stored in /proc and /sys directory. Using "upower" command or "acpi" command you can get this information.

upower is a command line tool which provides an interface to enumerate power sources on the system. Execute below command in the terminal.

The upower command will show detailed information about the battery:

$ upower -i /org/freedesktop/UPower/devices/battery_BAT1



This article covers the process of Installing qBittorrent on Ubuntu 20.04. For more information, visit their official site https://www.qbittorrent.org.


Main feautures of qBittorrent:

  • An interface similar to uTorrent
  • DHT, peer exchange, and complete encryption are all supported by this BitTorrent client.
  • It has a well-integrated search engine.
  • It also has UPnP port forwarding and NAT-PMP capabilities.
  • You can also use the qBittorrent Web interface to control it remotely.
  • A search engine that is well-integrated and expandable.
  • IPv6 compliant.



This article covers how to install VeraCrypt on CentOS 8. VeraCrypt is free open-source disk encryption software for Windows, Mac OS X, and Linux. In case an attacker forces you to reveal the password, VeraCrypt provides plausible deniability. In contrast, to file encryption, data encryption performed by VeraCrypt is real-time (on-the-fly), automatic, transparent, needs very little memory and does not involve temporary unencrypted files.


Features of VeraCrypt:

  • Creates a virtual encrypted disk within a file and mounts it as a real disk. 
  • Encrypts an entire partition or storage device such as USB flash drive or hard drive. 
  • Encryption is automatic, real-time(on-the-fly) and transparent. 
  • Parallelization and pipelining allow data to be read and written as fast as if the drive was not encrypted. 
  • Encryption can be hardware-accelerated on modern processors. 



This article covers how you can install and uninstall the Emacs editor via different ways. Emacs is a free, open source, extensible and customizable text editor. It is multiplatform and we will find it available for Gnu / Linux, Windows and Mac.



This article covers the best music players for Linux.

RhythmBox, Clementine, Banshee, Audacious, DeaDBeeF, Amarok, and qmmp occupy our list of the best music players for Linux and its distributions and Windows platforms. Some players also support macOS, iOS, and Android, however, are mostly used and appreciated by Linux and Windows users.



This article covers the best clock applications that work most efficiently on the Linux platforms and their distributions and are absolutely free, open-source, and reliable.

Alarms are one of the most required utilities in these times. It would not be wrong to say that if there are no alarms, suddenly there will be a giant halt to productivity. Many information technology firms and software solutions developers have proposed high-functioning clock platforms that not only offer a sleek, simple, and easy clock utility but also offer amazing and most efficient alarm features along with a list of other vast features enhancing overall user experience. 



This article covers Both wget and curl which are the free and open-source command-line utilities used for the non-interactive downloading of files. Remember, although both the utilities can download files from the web; they do differ a lot in terms of functionalities.

url can be used to transfer data over a number of protocols. It supports many protocols including HTTP, HTTPS, FTP, TFTP, TELNET, SCP, etc. using Curl, you can download any remote files. It supports pause and resumes functions as well.

To Install curl,

Launch command line application in Ubuntu that is Terminal by pressing the Ctrl+Alt+T key combinations. Then enter the below command to install curl with sudo:

$ sudo apt install curl



This article covers how to change the font type, size, and color of a Debian Terminal and give a new look and feel to your Terminal text and background. If you spend a lot of time working in Terminal on your Linux system, you probably may not be comfortable with its default font size. Too small font size sometimes can give a burden to your eyes. However, the Terminal application in Linux gives you the flexibility to customize its look and feel to suit your style and need.



This article covers the different methods to check your battery health monthly to keep its charging cycle and usage optimized. For this purpose, you can use the "acpi" command.

The acpi command shows battery status and other ACPI information in your Linux distribution.

You might need to install acpi command in some Linux distributions.

On Arch Linux and its derivatives:

$ sudo pacman -S acpi

To install acpi on Debian, Ubuntu and its derivatives:

$ sudo apt-get install acpi

On RHEL, CentOS, Fedora:

$ sudo yum install acpi

Or,

$ sudo dnf install acpi

Once acpi installed, run the following command:

$ acpi -V



This article covers the different methods to install Emacs on Debian OS. Emacs is a widely used open-source text editor for Linux. It exists for many years now and can be used for basic word processing, code editing, and scripting, etc.


How to Install Emacs editor on Debian ?

1. To start the installation process, login with root and update the package repository with the following command.

$ apt-get update

2. Next, run the following command on the terminal and wait for the operation to complete. This can take several minutes. When you are asked for confirmation, press Y from your keyboard.

$ apt-get install emacs



This article covers steps to install and setup McAfee ENS Threat Prevention Standalone setup on a Linux system. McAfee is one of the best and most useful Antivirus product which is being used in the market. 



This article covers how to install the Wireshark network analyzer tool on CentOS 8 system. Once Wireshark installed on your system, you can capture incoming and outgoing data packets over the network. Wireshark is free & Open source network packet analyzer that is used for network analysis, troubleshooting, etc. Wireshark is a cross-platform software that is available for various Linux/UNIX distributions, Mac-OS, Solaris, BSD & Windows, etc. It uses GTK to implement user interface & captures packets using PCAP. For additional help or useful information, we recommend you to check the official Wireshark website.


To Install package called Whireshark using the dnf command. For a GUI Wireshark application execute:

# dnf install wireshark

To install Wireshark command line tool only execute:

# dnf install wireshark-cli



Features of Wireshark includes:

  • Live packet capture & offline analysis.
  • A number of display filters.
  • Support for hundreds of protocol.
  • Rich VOIP analysis.
  • Read/write feature various file formats.
  • Live data can be read from ethernet port, Bluetooth, USB, Token rings tec.



This article covers some useful Linux commands to help you get started with working efficiently with Linux system. When operating a Linux OS, you need to use a shell — an interface that gives you access to the operating system’s services. Most Linux distributions use a graphic user interface (GUI) as their shell, mainly to provide ease of use for their users.

That being said, it's recommended to use a command-line interface (CLI) because it’s more powerful and effective. Tasks that require a multi-step process through GUI can be done in a matter of seconds by typing commands into the CLI.


How to use the cd command in Linux ?

To navigate through the Linux files and directories, use the cd command. It requires either the full path or the name of the directory, depending on the current working directory that you're in.

There are some shortcuts to help you navigate quickly:

  • cd .. (with two dots) to move one directory up.
  • cd to go straight to the home folder.
  • cd- (with a hyphen) to move to your previous directory.


How does the ls command works ?

The ls command is used to view the contents of a directory. By default, this command will display the contents of your current working directory.

There are variations you can use with the ls command:

  • ls -R will list all the files in the sub-directories as well.
  • ls -a will show the hidden files.
  • ls -al will list the files and directories with detailed information like the permissions, size, owner, etc.



This article covers how to change own and another user account passwords. It's recommended that to change your password frequently and use a unique password for each account for security purpose. Basically, you will learn how to change a password on any Linux distribution, including Ubuntu, Debian, and CentOs.

To change a password on behalf of a user, first sign on or "su" to the "root" account. Then type, ``passwd user'' (where user is the username for the password you are changing). The system will prompt you to enter a password. Passwords do not echo to the screen when you enter them.

You can also change your own password, by typing ``passwd'' (without specifying a username). You will be prompted to enter your old password for verification, and then a new password.


How to Change a Password in Linux?

To change the password in Linux you need to open the terminal and type the following command:

$ sudo passwd

After executing the command, you will be asked to enter the new password twice. 



This article covers most used Nginx commands. You can learn more about Nginx command line at Nginx documentation.

Nginx is one of the most popular web servers in the world. So whether you're currently using it or not, chances are, if you're a web developer chances are you'll likely come in contact with it at some point. 

Also, Nginx is well known for its simple configuration, and low resource consumption due to its high performance, it is being used to power several high-traffic sites on the web, such as GitHub, SoundCloud, Dropbox, Netflix, WordPress and many others.


To start the Nginx service, run the following command. Note that this process may fail if the configuration syntax is not OK:

$ sudo systemctl start nginx #systemd

OR

$ sudo service nginx start   #sysvinit


To enable Nginx auto-start at boot time, run the following command:

$ sudo systemctl enable nginx #systemd

OR

$ sudo service nginx enable   #sysv init


How to Show Nginx Command Help ?

To get an easy reference guide of all Nginx commands and options, use following command.

$ systemctl -h nginx



This article covers how to use screen commands in ubuntu 20.04. Screen or GNU Screen is a terminal multiplexer. In other words, it means that you can start a screen session and then open any number of windows (virtual terminals) inside that session. Processes running in Screen will continue to run when their window is not visible even if you get disconnected.


How to Install Linux GNU Screen on Ubuntu ?

1. Check if it is installed on your system by typing:

$ screen --version

2. If you don't have screen installed on your system, you can easily install it using the package manager of your distro.

Install Linux Screen on Ubuntu and Debian:

$ sudo apt update
$ sudo apt install screen

3. To Install Linux Screen on CentOS and Fedora:

$ sudo yum install screen

4. To start a screen session, simply type screen in your console:

$ screen


Most common commands for managing Linux Screen Windows:

  • Ctrl+a c Create a new window (with shell).
  • Ctrl+a " List all windows.
  • Ctrl+a 0 Switch to window 0 (by number).
  • Ctrl+a A Rename the current window.
  • Ctrl+a S Split current region horizontally into two regions.
  • Ctrl+a | Split current region vertically into two regions.
  • Ctrl+a tab Switch the input focus to the next region.
  • Ctrl+a Ctrl+a Toggle between the current and previous windows
  • Ctrl+a Q Close all regions but the current one.
  • Ctrl+a X Close the current region.



This article covers the top and best functioning time tracking tools capable of tracking, managing, and providing insights such as reporting, on different tasks the users or employees have spent their time on. Project Hamster, actiTime, TimeCamp, Hubstaff, and Kimai, all are the most acclaimed time tracking software by many reviewers and Linux users across the globe. Each of the discussed tools offers seamless time tracking and reporting functionalities that enable companies or freelancers to manage their time, budgets, and accounting processes and operations.

Linux users are though less in number than the other platforms, still holds a significant market, and most of the servers, mainframe computers, and supercomputers are based on Linux.



This article covers the best functioning and currently available screenshot tools enabling Linux users across the globe. There are many screenshot tools, however, not all come with the open-source functionality that despite enabling the user to modify and adjust the tool according to their needs and requirements, also help to enhance and improving the performance and feature set of the too, thereby enabling every user of the tool. 

Therefore, the discussed tools are free and open-source which offer unlimited access to features and functionalities and ever enhancing the platform’s functionalities and performance.

To capture the entire desktop, simply press the PrtScr button. Captured images are saved in the 'Pictures' folder. Another easy way of capturing screenshots is using the SHIFT + PrtScr keyboard combination. This reveals a crosshair pointer that you can drag to grab the area that you wish to capture.



This article covers how to install Arduino IDE on CentOS machine either via the direct download method or the snap method. Also, you will learn how to uninstall Arduino. Arduino IDE stands for the "Arduino Integrated Development Environment". Arduino is used to create electronic devices that communicate with their environment using actuators and sensors. Arduino IDE contains an editor that is used for writing and uploading programs to the Arduino board. Before starting to create projects through Arduino, the user needs to set up an IDE for the programmable board.


How to Launch Arduino IDE on CentOS Linux System ?

Now, you will launch the Arduino IDE from the desktop. Click on 'Activities' and select show application form where you will launch Ardunio IDE to double click on the application icon.

You can also launch using the search bar, click on the 'Activities' where you can see a search bar. You will type 'Arduino' in the search bar.



This article covers how to change timezone in Ubuntu 18.04. If you have set up your Ubuntu system to fetch Automatic Time Zone, it will sync your system through the internet so that it will have the time zone of your closest location.

Most modern distributions such as Fedora, Debian, Ubuntu, Arch, CentOS v.7.x+, and other Unix-based systems use the timedatectl utility. This command allows you to control and edit time and date settings using the command line.


To display the current time and date information use the command:

$ timedatectl

You can set your Ubuntu system to synchronize to the NIST atomic clock:

$ timedatectl set-ntp yes

If you need to turn off NTP synchronizing to be able to adjust the time and date manually, use:

$ timedatectl set-ntp no



This article covers the installation procedure of Discord on any Linux Distribution such as Linux Mint 20, Ubuntu 20.04, and Debian 10. Also, we explained a quick method of uninstalling this Discord platform from your Linux system.

You can either uninstall it from the software center or use this command in the terminal:

$ sudo apt remove discord


If you have enabled Snap support on your Linux distribution, you can use the following command to install it:

$ sudo snap install discord

If you want to remove it, you can use the snap command to uninstall it:

$ sudo snap remove discord



This article covers how to install an Apache web server on your Debian 9 server. The Apache HTTP server is the most widely-used web server in the world. It provides many powerful features including dynamically loadable modules, robust media support, and extensive integration with other popular software.


How to Install Apache ?

1. Let's begin by updating the local package index to reflect the latest upstream changes:

$ sudo apt update

2. Then, install the apache2 package:

$ sudo apt install apache2

 After confirming the installation, apt will install Apache and all required dependencies.


The Apache profiles begin with WWW:

1. WWW: This profile opens only port 80 (normal, unencrypted web traffic).

2. WWW Cache: This profile opens only port 8080 (sometimes used for caching and web proxies).

3. WWW Full: This profile opens both port 80 (normal, unencrypted web traffic) and port 443 (TLS/SSL encrypted traffic).

4. WWW Secure: This profile opens only port 443 (TLS/SSL encrypted traffic).


How to Manage Apache Process ?

To stop your web server, type:

$ sudo systemctl stop apache2

To start the web server when it is stopped, type:

$ sudo systemctl start apache2

To stop and then start the service again, type:

$ sudo systemctl restart apache2

If you are simply making configuration changes, Apache can often reload without dropping connections. To do this, use this command:

$ sudo systemctl reload apache2

By default, Apache is configured to start automatically when the server boots. If this is not what you want, disable this behavior by typing:

$ sudo systemctl disable apache2

To re-enable the service to start up at boot, type:

$ sudo systemctl enable apache2

Apache should now start automatically when the server boots again.



This article covers method to set up a static IP address on Ubuntu 20.04. Basically, in most network configurations, the IP address is assigned dynamically by the router DHCP server. 

The recommended way to assign a static IP address to a device on your LAN is to configure a Static DHCP on your router. Static DHCP or DHCP reservation is a feature found on most routers which makes the DHCP server to automatically assign the same IP address to a specific network device, each time the device requests an address from the DHCP server. This works by assigning a static IP to the device's unique MAC address.


To Get the name of network interface and the default gateway in Linux:

You can either use ip command or the network manager CLI like this:

$ nmcli d



This article covers how to install MySQL version 8.0 on an Ubuntu 20.04 server. By completing it, you will have a working relational database that you can use to build your next website or application.

MySQL is an open-source database management system, commonly installed as part of the popular LAMP (Linux, Apache, MySQL, PHP/Python/Perl) stack. It implements the relational model and uses Structured Query Language (better known as SQL) to manage its data.


To install MySQL using the APT package repository:

1. Update the package index on your server if you've not done so recently:

$ sudo apt update

2. Then install the mysql-server package:

$ sudo apt install mysql-server

This will install MySQL, but will not prompt you to set a password or make any other configuration changes. 

Because this leaves your installation of MySQL insecure, we will address this next.



This article covers how to create a user with sudo privileges. You can now log in to your Ubuntu server with this user account and use sudo to run administrative commands.

Basically, The sudo command provides a mechanism for granting administrator privileges, ordinarily only available to the root user, to normal users. 



This article covers the who command in Linux along with its some of the useful command line options.

Sometimes, while working on the command line, you might want to know more about logged in users.

There exists a command line utility who which you can use to access this kind of information.

Basically, the who command shows who all are logged in.

Here's its syntax:

$ who [OPTION]... [ FILE | ARG1 ARG2 ]


To access time of last system boot?

For this, use the -b command line option:

$ who -b



This article covers how to check the system or hardware details of your Ubuntu 20.04 system.

If you want to check all the above details for Debian 10, click here. While to check system or hardware details for CentOS, click here


For the command line tool, inxi is available to check:

i. Audio/sound card(s), driver, sound server.

ii. System battery info

iii. CPU output

iv. Hard Disk info

v. Graphics card, driver, display server, resolution, renderer, OpenGL version.

vi. vii. General info, including processes, uptime, memory, IRC client or shell type, inxi version.

vii. Memory (RAM) data (Require root)

viii. Network card, driver.

ix. system info, partition info, sensors output, USB data, and more.


To install inxi in Ubuntu, simply run command:

$ sudo apt-get install inxi

Then run man inxi to get a list of command options, or run inxi -F to get a brief output containing system or hardware details.



This article covers how to easily install Visual Studio code on your Ubuntu 20.04 system. Visual Studio Code is an open-source cross-platform code editor developed by Microsoft.

It has a built-in debugging support, embedded Git control, syntax highlighting, code completion, integrated terminal, code refactoring and snippets.


To Install Visual Studio Code on Ubuntu:

1. First, update the packages index and install the dependencies by typing:

$ sudo apt update
$ sudo apt install software-properties-common apt-transport-https wget

2. Next, import the Microsoft GPG key using the following wget command :

$ wget -q https://packages.microsoft.com/keys/microsoft.asc -O- | sudo apt-key add -

And enable the Visual Studio Code repository by typing:

$ sudo add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main"

3. Once the apt repository is enabled , install the latest version of Visual Studio Code with:

$ sudo apt update
$ sudo apt install code



This article covers method to Upgrade Ubuntu 16.04 to Ubuntu 18.04. If you are still using Ubuntu version 16.04, you may want to consider updating to the latest Long Term Support release, version 18.04.


What does LTS or Long Term Support Release Mean?

A Long Term Support release or LTS release, means that Ubuntu will support the version for five years. 

If you are running a production environment, you will likely want to use a Long-Term Support version of your preferred server operating system.


What is New in Ubuntu Version 18.04:

1. Depending on when you installed Ubuntu version 16.04, the Linux kernel used would have been anywhere from version 4.4 to 4.10. Version 18.04 uses Linux kernel 4.15 at launch.

2. Linux kernel 4.5 now includes new features like CPU controller for the cgroup v2 interface, AMD secure memory encryption support, the latest MD driver with software RAID enhancements, and improved power management for systems with SATA Link Power Management.

3. The new kernel also includes some Ubuntu-specific updates, Linux security module stacking support, and the signing of POWER host and NV kernels is now supported.

18.04 does not install Python 2 default, and it updated Python version 3 to version 3.6.

4. Apache updates to version 2.4.29 and supports HTTP/2.

5. Nginx updates to version 1.14.0.

6. PHP updates from version 7.1 to 7.2.

7. The ifupdown network manager is removed on new installs and is deprecated. netplan.io is the new network configuration manager.

8. OpenSSH now refuses to use RSA keys smaller than 1024 bits. This command can report the length of a key.

ssh-keygen -l -f /path/to/key.pub

32-bit PowerPC support has been dropped.

9. The Subuquity server installer brings live sessions and fast installs of Ubuntu Desktop to server users.

10. Ubuntu 18.04 ships with LXD system container manager version 3.0. Version 3.0 of LXD allows for clustering of LXD servers, adds support of NVIDIA run-time pass-through, and lxd-p2c is a new tool that turns existing systems into LXD containers.


To Upgrade Ubuntu from 16.04 to 18.04:

1.  Create a backup of your environment.

2. Run the command below to update and upgrade the packages.

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

3. To add the Update Manager to your server add command below to your terminal.

$ sudo apt install update-manager-core

4. Now that you have created a backup installed package updates and have the upgrade manager you are ready to upgrade Ubuntu.

$ sudo do-release-upgrade

5. To check what version of Ubuntu is currently installed use the command below.

$ lsb_release -a



This article covers how to install Terminalizer which is a terminal recording tool on a Linux distribution of your choice, you will be able to conveniently record all your terminal-related activities. 

Terminalizer is a fancy and highly customizable CLI tool that records and renders terminal activity and can make an animated GIF image from it. 

It can work well on Ubuntu, CentOS, Arch Linux, SUSE, RedHat, Fedora, and so on.


To install Node.js on Ubuntu:

1. update your system.

$ apt update

2. Next, run the command below to install Node.js from the repositories.

$ apt install node.js

3. Upon successful installation of node.js, you can verify the version of Node.js using the command as shown.

$ nodejs --version



This article covers the different methods through which you can install the Speedtest utility on your CentOS 8 system. 

Also, we have also shown how to test the internet speed through the Speedtest-cli utility and how to generate URLs to share with others.


To Install Speedtest-cli on CentOS 8:

1. Open the terminal to make sure that Python is installed and working properly. Type the following command to check Python version:

$ python --version

If python is not installed on your system then first you will install python on your system. 

For this purpose, you need to run the below-mentioned command on the terminal to install python on CentOS 8.

$ sudo yum install python2

2. Download the speedtest_cli.py file using 'wget' command:

$ wget -O speedtest-cli https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py

After successfully saved the downloaded file, you will type the following command on the terminal:

$ chmod +x speedtest-cli



This article covers how to install Imagemagick on your system very conveniently and use it for editing your images.
However, you can also uninstall this tool from your system very easily at any time by following the tip that we have shared.
ImageMagick is a free and open-source application through which we can manage (i.e. create/edit/convert etc.) raster graphics. ImageMagick is typically used from command line.
Also we can use it from any programming language by using its interface like Magick.NET (.Net),IMagick (PHP), PerlMagick (Perl) etc.

To Install ImageMagick on Ubuntu 20.04 LTS:
1. First, make sure that all your system packages are up-to-date by running these following apt commands in the terminal.

$ sudo apt update
$ sudo apt upgrade

2. Install ImageMagick on Ubuntu system.

$ sudo apt install imagemagick



This article covers how to install the VS code package on CentOS 8 using the command line application. Visual Studio Code is a free and open-source, cross-platform IDE or code editor that enables developers to develop applications and write code using a myriad of programming languages such as C, C++, Python, Go and Java to mention a few.


To Install Visual Studio Code on Debian, Ubuntu and Linux Mint:

1. Update your system by running the command.

$ sudo apt update

2. Once updated, proceed and install dependencies required by executing.

$ sudo apt install software-properties-common apt-transport-https

3. Next, using the wget command, download the repository and import Microsoft’s GPG key as shown:

$ wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg
$ sudo install -o root -g root -m 644 packages.microsoft.gpg /etc/apt/trusted.gpg.d/
$ sudo sh -c 'echo "deb [arch=amd64 signed-by=/etc/apt/trusted.gpg.d/packages.microsoft.gpg] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list'

4. Once you’ve enabled the repository, update the system and install Visual Studio Code by running the command:

$ sudo apt update
$ sudo apt install code



This article covers how you can access Google drive on Ubuntu. Now you can easily access your Google Drive files directly from the File Manager.

The process involves adding your online Google account to your Gnome Online Accounts list. This configuration then lets you mount your Google Drive account to your Nautilus File Manager. 

After mounting, you can access your online files, edit them, and add new files directly from your Ubuntu to your Google Drive.


To Install and Open Gnome Online Accounts:

1. Open the Ubuntu command line, the Terminal, either through the system Dash or the Ctrl+Alt+T shortcut. 

2. Once the Terminal application opens, enter the following command as sudo:

$ sudo apt install gnome-online-accounts

Please remember that only an authorized user can add, remove and configure software on Ubuntu.

3.  Once the utility is installed on your system, you can open it through one of the following methods:

By entering the following command in your Terminal:
$ gnome-control-center online-accounts



This article covers how you can change user password in Linux either graphically or using the command line. Both Linux and UNIX-like operating systems use the passwd command to change user password. 

This applies to any Linux distribution, including Alpine, Arch, Ubuntu, Debian, RHEL, Fedora, Oracle CentOS, SUSE/OpenSUSE and other popular Linux distros.

The passwd is used to update a user's authentication token (password) stored in /etc/shadow file. 


To Set User Password in Linux:

Type following passwd command to change your own password:

$ passwd


To see all user account try grep command or cat command as follows:

$ cat /etc/passwd
$ grep '^userNameHere' /etc/passwd
$ grep '^linuxapt' /etc/passwd



This article covers how to install PyCharm on your Ubuntu 20.04 system. 

PyCharm is a cross-platform IDE that provides consistent experience on the Windows, macOS, and Linux operating systems. Also, you can also remove it any time from your Ubuntu 20.04 system by following the steps outlined in this guide. 


Main features of PyCharm IDE:

1. Syntax highlighting

2. Auto-Indentation and code formatting

3. Code completion

4. Line and block commenting

5. On-the-fly error highlighting

6. Code snippets

7. Code folding

8. Easy code navigation and search

9. Code analysis

10. Configurable language injections

11. Python refactoring

12. Documentation


To Install PyCharm in Ubuntu and other Linux using Snap:

1. Use the snap command to install the PyCharm Community Edition:

$ sudo snap install pycharm-community --classic

2. To remove PyCharm, you may use this command:

$ sudo snap remove pycharm-community



This article covers how you can compress the PDF file size in Linux and its distributions like Ubuntu. 

Although applications like LibreOffice Writer allow you to convert your business documents into portable and secure PDFs, sometimes the files they produce are too large and unwieldy. These huge files may hog network bandwidth, waste space on company storage devices or be too big to share as email attachments. 

Fortunately, Ubuntu provides a complicated, but efficient method to reduce the size of your PDFs using the standard Ghostscript library of command line utilities.


How to use Ghostscript command to compress PDF file in Linux Systems ?

You can use Ghostscript command line tool for compressing a PDF file. 

Most Linux distributions include the open source version of Ghostscript already. 

However, you can still try to install it just to make sure.

On Debian/Ubuntu based distributions, use the following command to install Ghostscript:

$ sudo apt install ghostscript

1. Start a Ubuntu terminal session and navigate to the folder containing the PDF file you want to shrink.

2. PDF is in the Documents folder, type "cd Documents" (without the quotation marks) at the terminal prompt and press "Enter."

3. Type the Ghostscript command to reduce the size of your PDF file. For example, if your file is named "mydoc.pdf" and you want the reduced version to be called "mydocsmaller.pdf," type the following command at the terminal prompt as a single line:

gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -dNOPAUSE -dQUIET -dBATCH -sOutputFile=mydocsmaller.pdf mydoc.pdf

This command instructs the Ghostscript GS utility to take the file "mydoc.pdf" and create a version 1.4-compatible, low-resolution PDF file called "mydoc_smaller.pdf" that is optimized to be displayed on your PC screen rather than printed on paper.



This article covers how to hide files inside images through four different methods including both the command line and the graphical methods. 

You can simply embed the confidential data, along with a password or passkey so that only a trusted person can open that file. 

This type of encryption where you hide one file securely into another is called Steganography.


How to install Steghide utility via command line on Ubuntu ?

1. To install the latest version of this tool, open the Ubuntu Terminal and first update your repository index through the following command as sudo:

$ sudo apt update

2. Now install the steghide utility through the following command:

$ sudo apt-get install steghide


To Remove / Uninstall Steghide tool from Debian:

Whenever you want to uninstall the Steghide tool from your system, simply enter the following command as sudo:

$ sudo apt-get remove steghide



This article covers how to install FileZilla on Ubuntu 20.04 LTS system. Also we mentioned the steps to remove FileZilla in case you need to so.

FileZilla is a ftp client for both windows & linux operating system. It is a powerful client for plain FTP, FTP over SSL/TLS (FTPS) and the SSH File Transfer Protocol (SFTP). 


To Install FileZilla from command line on Ubuntu / Debian:

Use the following commands.

$sudo apt-get update
$sudo apt-get install filezilla

First command synchronizes the configured repositories.

This command is used to ensure that always the latest version of the software is installed.



This article covers the installation of FileZilla on Debian 10. FileZilla is a powerful open-source FTP client that comes in handy when you simply want to access your FTP server and manage files.


To install FileZilla on Debian Linux System:

1. Login to the Debian 10 system and run below apt command to update package index:

$ sudo apt update

2. Install FileZilla using command-line, run following apt command:

$ sudo apt install -y filezilla

3. Once FileZilla and its dependencies are installed successfully, run below command to verify the FileZilla version:

$ filezilla --version



This article covers steps to setup and new SFTP server by making the ssh configuration changes, adding new users, and assigning the required directory permissions. You can add as many users as you want or simply create a new group and make new users part of that group.

FTP is a great protocol for accessing and transferring files, but it has the shortcoming of being a clear text protocol. 

In other words, it's not secure to use over an internet connection, since your credentials and data are transmitted without encryption. 

The 'S' in SFTP stands for 'Secure' and tunnels the FTP protocol through SSH, providing the encryption needed to establish a secure connection.


To Configure SSH daemon on Ubuntu:

1. SFTP requires SSH, so if SSH server is not already installed on your system, install it with the following command:

$ sudo apt install ssh

2. Once SSH is installed, we need to make some changes to the SSHD configuration file. Use nano or your favorite text editor to open it:

$ sudo nano /etc/ssh/sshd_config

3. Scroll to the bottom of the file and add the following 5 lines at the very end and save file:

Match group sftp
ChrootDirectory /home
X11Forwarding no
AllowTcpForwarding no
ForceCommand internal-sftp

4. Restart the SSH service for these new changes to take effect:

$ sudo systemctl restart ssh



This article covers how to take Backups and restore a MySQL database on Red Hat Enterprise Linux 8.


Advantage of logical backup:

The main advantage of logical backup over physical backup is portability and flexibility. 

The data can be restored on other hardware configurations, MariaDB versions or Database Management System (DBMS), which is not possible with physical backups.

Note that physical backup must be performed when the mariadb.service is not running or all tables in the database are locked to prevent changes during the backup.


The mysqldump client is a backup utility, which can can be used to dump a database or a collection of databases for the purpose of a backup or transfer to another database server. 

The output of mysqldump typically consists of SQL statements to re-create the server table structure, populate it with data, or both. 

Alternatively, mysqldump can also generate files in other formats, including CSV or other delimited text formats, and XML.


Advantages of Physical backup:

1. Output is more compact.

2. Backup is smaller in size.

3. Backup and restore are faster.

4. Backup includes log and configuration files.


You can use one of the following MariaDB backup approaches to back up data from a MariaDB database:

1. Logical backup with mysqldump

2. Physical online backup using the Mariabackup tool

3. File system backup

4. Replication as a backup solution


To Backing up an entire database with mysqldump:

Execute the command:

# mysqldump [options] db_name > backup-file.sql


Using mysqldump to back up a set of tables from one database:

To back up a subset of tables from one database, add a list of the chosen tables at the end of the mysqldump command:

# mysqldump [options] db_name [tbl_name …​]



To restore the data while keeping the original backup files, use the following procedure:

1. Run the mariabackup command with the --copy-back option:

$ mariabackup --copy-back --target-dir=/var/mariadb/backup/

2. Fix the file permissions.

When restoring a database, Mariabackup preserves the file and directory privileges of the backup. However, Mariabackup writes the files to disk as the user and group restoring the database. 

For example, to recursively change ownership of the files to the mysql user and group:

# chown -R mysql:mysql /var/lib/mysql/

3. Start the mariadb service:

# systemctl start mariadb.service



This article covers LibreOffice installation on CentOS 8 distribution. LibreOffice is a powerful and open-source office suite that can be used on Linux, Mac as well as on Windows.

It provides various features such as word documentation, spreadsheets, data processing, drawing, presentation design, Math calculation, and more.


How to uninstall Old LibreOffice or OpenOffice Versions ?

If any previously installed LibreOffice or OpenOffice versions you have, remove it using following command.

# yum remove openoffice* libreoffice* [on RedHat based Systems]
$ sudo apt-get remove openoffice* libreoffice*	[On Debian based Systems]



This article covers how to install TeamViewer on Ubuntu 20.04 via the command-line and GUI. You can also explore our related how-tos for Debian  and CentOS .

TeamViewer is a cross-platform solution that can be used for remote control, desktop sharing and file transfer between computers.


To Install TeamViewer on Ubuntu:

1. Open your terminal either by using the Ctrl+Alt+T keyboard shortcut or by clicking on the terminal icon.

Download the latest TeamViewer .deb package with the following wget command:

$ wget https://download.teamviewer.com/download/linux/teamviewer_amd64.deb

2. Install TeamViewer

Install the TeamViewer .deb package by issuing the following command as a user with sudo privileges:

$ sudo apt install ./teamviewer_amd64.deb

At the prompt Do you want to continue? [Y/n], type Y to continue the installation.


To Uninstall TeamViewer from Ubuntu System:

1. In order to uninstall TeamViewer from your system without removing any configurations you might have made, enter the following command as sudo:

$ sudo apt remove teamviewer

The system will prompt you with a Y/n option in order to begin the uninstall procedure. Please enter Y and hit Enter to begin. TeamViewer will then be removed from your system.

2. If you have made any configurations, you can remove TeamViewer and all those by using the following command:

$ sudo apt purge teamviewer



This article covers the method of installation of Postman on the Ubuntu 20.04 system. Also, we explored the method to set up Postman and how to send a request for the first time. 

Here, you will also learn the method of removing Postman application from system.


Postman is a complete API development platform that helps you manage your APIs in every stage of development, from designing and testing, to publishing API documentation and monitoring. 

Postman started as a Chrome browser extension and quickly became one of the most widely used API tools by developers all over the world.


Installing Postman on Ubuntu:

The easiest way is to install Postman on Ubuntu is by using the snappy packaging system. 

Snaps are self-contained software packages that include the binary all dependencies needed to run the application. Snap packages can be installed from either the command-line or via the Ubuntu Software application.

To install the Postman snap, open your terminal (Ctrl+Alt+T) and run the following command as a user with sudo privileges :

$ sudo snap install postman



This article covers how to install Dropbox on your Ubuntu 20.04 system. Dropbox online storage provides us support for Ubuntu Linux. 

Dropbox provides us online storage to store or backup our data automatically. We use Dropbox to backup our contents with some security and peace of mind. 

In the event of our PCs crash, Our data will be saved and ready to be restored onto server.


To install Dropbox from Command Line on Ubuntu:

1. Install the wget package using the apt command,

$ sudo apt-get update
$ sudo apt-get install wget

2. Dropbox cli version is available for both 32 and 64 bit editions, we will download Dropbox upon out version.

For 32-bit,

$ cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86" | tar xzf -

For 64-bit, 

$ cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf -

3. Run the following command to start the Dropbox from .dropbox-dist folder.

$ ~/.dropbox-dist/dropboxd


To manage Dropbox service:

1. Enable dropbox service using command below.

$ sudo systemctl enable dropbox

2. Start dropbox service using command below.

$ sudo systemctl start dropbox

3. Check running of the service using command below.

$ sudo systemctl status dropbox



This article covers how to password protect a file using Vim on Linux.  When password protecting a file, make sure you remember it, or else you will not be able to access your file.

You can also use a password management software if you find it difficult to remember passwords. Or visit our guide on how to install Teampass password manager on Ubuntu .

Always remember to appropriately secure text files that could contain secret info such as usernames and passwords, financial account info and so on, using strong encryption and a password.


To install VIM in Linux:

Vim is available in the repositories of most major distributions. 

So, use your distribution package manager to get installed.

For Debian based systems, use apt-get or apt package manager to install vim.

$ sudo apt-get install vim

For RHEL/CentOS based systems, use yum package manager to install vim.

$ sudo yum install vim-enhanced

For Fedora system, use dnf package manager to install vim.

$ sudo dnf install vim-enhanced

For openSUSE system, use zypper package manager to install pass.

$ sudo zypper in vim

For Arch Linux based systems, use pacman package manager to install vim.

$ sudo pacman -S vim



This article covers how to view standard log files for troubleshooting any Linux system. Linux system administrators often need to look at log files for troubleshooting purposes.

Linux and the applications that run on it can generate all different types of messages, which are recorded in various log files. Linux uses a set of configuration files, directories, programs, commands and daemons to create, store and recycle these log messages. 

Knowing where the system keeps its log files and how to make use of related commands can therefore help save valuable time during troubleshooting.


To view log files on Linux:

Open the Terminal or login as root user using ssh command. 

Go to /var/log directory using the following cd command:

# cd /var/log

To list files use the following ls command:

# ls


To Configure Log Files on Ubuntu and CentOS:

This section explains different mechanisms for configuring log files. Let's start with a CentOS example.

To view users currently logged onto a Linux server, enter the who command as a root user:

$ who

This also lists the login history of users. 

To view the login history of the system administrator, enter the following command:

$ last reboot

To view information of the last login, enter:

$ lastlog


To Execute Log Rotation on Linux:

Log files that have zeroes appended at the end are rotated files. That means log file names have automatically been changed within the system.

The purpose of log rotation is to compress outdated logs that are taking up space. Log rotation can be done using the logrotate command. This command rotates, compresses, and mails system logs.

logrotate handles systems that create significant amounts of log files. The command is used by the cron scheduler and reads the logrotate configuration file /etc/logrotate.conf. It's also used to read files in the logrotate configuration directory.



This article covers how to install Autotrash on Ubuntu system. With Autotrash, you can automatically delete the files residing in the Trash based on the conditions you specified.

trash-cli is a command-line interface to the trash-can used by Linux Systems. 

The trash-cli is present in repositories of most of the Linux Distributions.


To remove Autotrash from Ubuntu:

Run the command:

$ sudo snap remove autotrash-unofficial



This article covers how you can easily find out which groups a user belongs to in Ubuntu. Also we shared how to list all groups in a system, list members of a group, add and remove a user from the group. For information about adding/removing users in a system, visit our guide on how to add and remove users on Ubuntu .

Adding a user to an existing group is one of the typical tasks of a Linux administrator.

A group is a collection of users. 

The main purpose of the group is to define a set of privileges to their members within the group.


To find out if a user has sudo access is by checking if the said user is member of the sudo group. 

If you see the group 'sudo' in the output, the user is a member of the sudo group and it should have sudo access.

In order to list groups on Linux, you have to execute the "cat" command on the "/etc/group" file. 

When executing this command, you will be presented with the list of groups available on your system.


To login as Sudo on Ubuntu:

1. Open a terminal Window. Press Ctrl + Alt + T to open the terminal on Ubuntu.

2. To become root user type: sudo -i. sudo -s.

3. When promoted provide your password.

4. After successful login, the $ prompt would change to # to indicate that you logged in as root user on Ubuntu.


What is /etc/passwd file?

"/etc/passwd" is a text file containing every user information that is required to login to the Linux system. It maintains useful information about users such as username, password, user ID, group ID, user information, home directory and shell.


To find out which groups a user belongs to in Linux:

1. groups: Show All Members of a Group.

2. id: Print user and group information for the specified username.

3. lid or libuser-lid: It display user's groups or group's users.

4. getent: Get entries from Name Service Switch libraries.

5. compgen: compgen is bash built-in command and it will show all available commands for the user.

6. members: List members of a group.

7. /etc/group file: Also, we can grep the corresponding user’s groups from the /etc/group file.


What is Wheel Group in Linux?

The wheel group is a special user group used on some Unix systems, mostly BSD systems, to control access to the su or sudo command, which allows a user to masquerade as another user (usually the super user). Debian-like operating systems create a group called sudo with purpose similar to that of a wheel group.


Types of groups in Linux:

1. Primary Group - The primary group is the main group associated with the user account. Each user must be a member of a single primary group.

2. Secondary Group - The secondary or supplementary group is used to grant additional rights to the user. Each user can become a member of multiple secondary groups.



This article covers the installation of the Plex media server on Ubuntu. Using the Plex, you can save all your favorite Tv shows, movies, videos, and photos in a single place. You can approach them from anywhere to any device. 


To install Plex Media Server on Ubuntu:

1. Download the .deb package

2. run sudo dpkg -i plexmediaserver_1.19.4.2935-79e214ead_amd64.deb (replacing the last filename with the name of the package you downloaded)

3. To setup Plex Media Server, on the same machine you installed the server on, open a browser window, and go to http://127.0.0.1:32400/web.


To Enable and start Plex media server on Ubuntu:

Execute the following command as sudo: $ sudo systemctl start plexmediaserver.service.



This article covers different methods to install the Arduino IDE on Debian system. To get the latest version of Arduino IDE, simply go for installation via tarball and snap. If you prefer an older release of Arduino, go for installation via apt.

Arduino boards are able to read inputs – light on a sensor, a finger on a button, or a Twitter message – and turn it into an output – activating a motor, turning on an LED, publishing something online. You can tell your board what to do by sending a set of instructions to the microcontroller on the board. 

To do so you use the Arduino programming language (based on Wiring), and the Arduino Software (IDE), based on Processing.”


To Install Arduino IDE on Ubuntu:

1. Execute the command:

$ sudo apt install Arduino

2. You will be provided with Y/N option, press y to continue.

3. Now wait for a while until the installation of Arduino IDE is completed.


To Launch Arduino IDE:

To launch Arduino IDE application on your system, hit the super key and in the search bar that appears, type Arduino. When the Arduino IDE icon appears, click on it to launch.

You will see the default view of Arduino IDE.



This article covers how to install KDE Plasma on Ubuntu 20.04 system. The Plasma desktop option will be available along with the standard Ubuntu system. Also, you will learn the steps to uninstall KDE Plasma from the Ubuntu system. 

KDE is the short form for K Desktop Environment.

Plasma is the desktop environment and KDE is the umbrella project responsible for the development of Plasma desktop and a bunch of other applications.


To Install KDE desktop environment on Ubuntu:

For KDE Full - This is the complete KDE pack. It comes with the complete package and core KDE plasma desktop. 

$ sudo apt install kde-full


For KDE Standard - It includes Plasma desktop with standard set of KDE apps such as Kate (default text editor), Konqueror (default web browser), Kget (Download Manager), KMail (email client), Dolphin (File Manager) and so on. 

$ sudo apt install kde-standard


To install KDE Plasma Desktop:

Run the command - $ sudo apt install kde-plasma-desktop



This article covers how to install Skype on Linux Mint 20 system. Skype is used to make free video and voice calls, send instant messages, and also to share files with other people on Skype.

However, if at any instance, you feel like you are getting more inclined towards some other application or Skype is not fulfilling your needs anymore, then you can easily remove it by following the removal method prescribed in this guide.


To Install Skype on Linux Mint using the Software Center:

1. Click ‘Menu’, type ‘Software Manager’ in the search box and launch it.

2. Search for ‘Skype’ in the Software Manager’s search box. You should see Skype and Skype (Flathub). These are just coming from two different sources. Click on only the “Skype” version. This is coming from the official Linux Mint’s Repository source.

3. Click “Install”, enter the Root password to complete the installation.

4. After the installation is complete, you can click on the “Launch” button or open the app from the “Applications” menu.

5. Start using Skype!



This article covers the different methods to install Skype on Ubuntu 20.04 LTS including both the GUI and the command line. 


To install the Skype snap, open your terminal (Ctrl+Alt+T) and run the following command:

$ sudo snap install skype --classic

That's it. You have installed Skype on your Ubuntu machine, and you can start using it.


How to install Skype with apt on Ubuntu ?

Skype is available from the official Microsoft Apt repositories. To install it, follow the steps below:

1. Open your terminal and download the latest Skype .deb package using the following wget command:

$ wget https://go.skype.com/skypeforlinux-64.deb

2. Once the download is complete, install Skype by running the following command as a user with sudo privileges :

$ sudo apt install ./skypeforlinux-64.deb

You will be prompted to enter your password.

3. When a new version is released, you can update the Skype package through your desktop standard Software Update tool or by running the following commands in your terminal:

$ sudo apt update

$ sudo apt upgrade



This article covers methods to install Emacs editor in the Ubuntu 20.04 system. Emacs is a text editor designed for POSIX operating systems and available on Linux, BSD, macOS, Windows, and so on.


Emacs is an open-source, cross-platform editor that is highly customizable and provides a user-friendly interface to its users. 

It Provide features like multiple editing modes, full Unicode support for scripts, text manipulation tools, and integration with numerous external tools like the shell and git clearly gives an indication of how powerful it is.


To Install Emacs on Linux:

You can check if your Linux system has emacs installed by simply running the following command:

$ emacs

If you get an error message such as "-bash: -bash:: command not found", then you need to install it.

To install the emacs packages, run the command:

$ yum install emacs

On Ubuntu, execute:

$ apt-get install emacs


To install Emacs using Snap on Ubuntu:

Execute the following command in the command line:

$ sudo snap install emacs --classic

Once this is done, you can find Emacs in your list of installed applications.



This article covers how to install the Mozilla Firefox browser on the Ubuntu system. Mozilla Firefox is the official Internet browser for Ubuntu, therefore, most Ubuntu distros have it installed by default.

If your system lacks this browser due to any reason or if you have accidentally deleted it, we will tell you how to install it on your Ubuntu.


To update Firefox on Linux:

1. Click the menu button , click. Help and select About Firefox. On the menu bar click the Firefox menu and select About Firefox.

2. The About Mozilla Firefox Firefox window opens. Firefox will check for updates and download them automatically.

3. When the download is complete, click Restart to update Firefox.


To Delete Firefox and all it's data from Ubuntu:

1. run sudo apt-get purge firefox.

2. Delete /etc/firefox/ , this is where your preferences and user-profiles are stored.

3. Delete /usr/lib/firefox/ should it still be there.

4. Delete /usr/lib/firefox-addons/ should it still be there.



This article covers the different methods of installation of Spotify on the Ubuntu 20.04 system. 

Spotify is a Popular music streaming application used globally and users can use any of the methods discussed above for its installation. 

The uninstallation process is also quite easy and we covered it for the ease of our readers. 

Users can also update Spotify with each newly released version.


Where is Spotify installed Linux?

If you followed the instructions on https://www.spotify.com/download/linux/ and installed from Ubuntu Software or snap, it should be located at /snap/bin/spotify . 

If you installed the debian package, it should be located at /usr/bin/spotify .


To update Spotify on Ubuntu:

1. Update list of available packages:

$ sudo apt-get update.

2. Install Spotify:

$ sudo apt-get install spotify-client.


To uninstall Spotify on Linux:

1. Quit Spotify.

2. Uninstall. sudo apt-get remove spotify-client.

3. Remove old config and cache.

cd $HOME/.config. rm -r spotify. cd $HOME/.cache. rm -r spotify.

4. Reinstall by following instructions on https://www.spotify.com/download/linux. 


To Install via command line on Ubuntu:

If you don't have access or don't want to use Ubuntu Software, it is possible to install Spotify from the command line with snap. 

Run the following command in your terminal:

$ snap install spotify



This article covers how to perform installation and configuration of Apache web server on Debian 10.

Also, you will learn how to create virtual hosts on an Apache server and troubleshoot errors. These steps are almost the same for Ubuntu and LinuxMint distributions.

Apache HTTP Server is a free and open-source web server that delivers web content through the internet. It is commonly referred to as Apache and after development, it quickly became the most popular HTTP client on the web.


On most systems if you installed Apache with a package manager, or it came preinstalled, the Apache configuration file is located in one of these locations: /etc/apache2/httpd. conf. /etc/apache2/apache2.


Debian/Ubuntu Linux Specific Commands to Start/Stop/Restart Apache:

1. Restart Apache 2 web server, enter: # /etc/init.d/apache2 restart. $ sudo /etc/init.d/apache2 restart.

2. To stop Apache 2 web server, enter: # /etc/init.d/apache2 stop.

3. To start Apache 2 web server, enter: # /etc/init.d/apache2 start.


To check running status of LAMP stack:

1. For Ubuntu: # service apache2 status.

2. For CentOS: # /etc/init.d/httpd status.

3. For Ubuntu: # service apache2 restart.

4. For CentOS: # /etc/init.d/httpd restart.

5. You can use mysqladmin command to find out whether mysql is running or not.



This article covers the different methods of finding files in Debian 10. 


To find a file in Debian:

Use the Locate command

1. Debian and Ubuntu sudo apt-get install locate.

2. CentOS yum install locate.

3. Prepare locate command for first use. To update the mlocate.db database before first use, run: sudo updatedb. 

To use locate, open a terminal and type locate followed by the file name you are looking for.


To locate a file in Linux:

1. find . - name thisfile.txt. If you need to know how to find a file in Linux called thisfile.

2. find /home -name *.jpg. Look for all . jpg files in the /home and directories below it.

3. find . - type f -empty. Look for an empty file inside the current directory.

4. find /home -user randomperson-mtime 6 -iname ".db".


To find packages in Debian:

You can also search for a package using the aptitude Ncurses user interface. 

1. Type 'aptitude' in the terminal and the following interface will be displayed in the window. 

2. To search for a package, press '/' and then type the package name into the search bar.


How to use grep to find a file?

The grep command searches through the file, looking for matches to the pattern specified. 

To use it type grep , then the pattern we're searching for and finally the name of the file (or files) we're searching in. 

The output is the three lines in the file that contain the letters 'not'.


To list files in Linux:

The easiest way to list files by name is simply to list them using the ls command. Listing files by name (alphanumeric order) is, after all, the default. 

You can choose the ls (no details) or ls -l (lots of details) to determine your view.


Which command have more searching options to search a file in file system in Linux?

Grep is a Linux / Unix command-line tool used to search for a string of characters in a specified file. The text search pattern is called a regular expression. 

When it finds a match, it prints the line with the result. 

The grep command is handy when searching through large log files.


grep is a command-line utility for searching plain-text data sets for lines that match a regular expression. 

Its name comes from the ed command g/re/p (globally search for a regular expression and print matching lines), which has the same effect.


To grep recursively in a directory:

To recursively search for a pattern, invoke grep with the -r option (or --recursive ). When this option is used grep will search through all files in the specified directory, skipping the symlinks that are encountered recursively.



This article covers how to install Opera web browser on an Ubuntu 20.04 system. Opera web browser provides its unique features and has many users all over the world.

Users can access and then use the Opera browser once they have installed it in their systems. You will also learn how to uninstall the browser from the Ubuntu 20.04 system.


To install Opera browser on Linux:

1. Add Opera browser Repository. Let's start by adding an Opera repository and keyring.

2. Install Opera Browser. At this stage to install the Opera browser on Ubuntu 18.04 Bionic Beaver is easy as executing the below command: $ sudo apt install opera-stable.

3. Start Opera Browser.


To Install Google Chrome on Debian:

1. Download Google Chrome. Open your terminal either by using the Ctrl+Alt+T keyboard shortcut or by clicking on the terminal icon.

2. Install Google Chrome. Once the download is complete, install Google Chrome by typing: $ sudo apt install ./google-chrome-stable_current_amd64.deb.


To start Chrome on Linux:

1. Edit ~/. bash_profile or ~/. zshrc file and add the following line alias chrome="open -a 'Google Chrome'"

2. Save and close the file.

3. Logout and relaunch Terminal.

4. Type chrome filename for opening a local file.

5. Type chrome url for opening url.


To install Google Chrome on Linux Mint:

1. Add this link to the list of repo sources "deb http://dl.google.com/linux/chrome/deb/ stable main"

2. Run in terminal "sudo apt-get update"

3. Run in terminal "sudo aptitude install google-chrome-stable"


The sudo apt-get update command is used to download package information from all configured sources.

So when you run update command, it downloads the package information from the Internet. It is useful to get info on an updated version of packages or their dependencies.


To Uninstall Opera on Ubuntu:

1. In order to uninstall Opera through the command line, enter the following

$ sudo apt-get remove opera-stable

2. The repository you added will still be residing on your system. Enter the following command in order to remove it:

$ sudo apt-delete-repository "deb [arch=i386,amd64] https://deb.opera.com/opera-stable/ stable non-free



This article covers different effective ways to free up some disk space on your Ubuntu system or other Linux distro. 

Although Linux does not clutter up like Windows, it may be useful to occasionally clean up Linux. Especially in systems with a smaller hard drive it can be beneficial to clean Linux. Occasionally cleaning up Linux does have to be done on a daily basis or weekly basis, 1 time per month is more than sufficient.


Terminal commands to free up some disk space on your Linux System:

There are 3 terminal commands which you can use top clean up Linux Mint. 

Each terminal will be explained about what they do and remove. 

All three commands contribute to free up disk space.

1. sudo apt-get autoclean

This terminal command deletes all .deb files from /var/cache/apt/archives. It basically cleans up the apt-get cache.

2. sudo apt-get clean

This terminal command is used to free up the disk space by cleaning up downloaded .deb files from the local repository.

3. sudo apt-get autoremove

This terminal command used to remove packages that were automatically installed to satisfy dependencies for some package and no longer needed by those packages.



This article will guide you on the different methods to find the private IP address in CentOS 8.


Different ways to display IP addresses in Centos:

1. Using ifconfig command. The ifconfig command is the most commonly used command for displaying and modifying IP addresses on the system.

2. Using ip command.

3. Using the hostname command.

4. using nmcli command.

5. Using ip route show command.


To configure a static IP address on CentOS 7 / RHEL 7:

1. Create a file named /etc/sysconfig/network-scripts/ifcfg-eth0 as follows:

2. DEVICE=eth0.

3. BOOTPROTO=none.

4. ONBOOT=yes.

5. PREFIX=24.

6. IPADDR=192.168.x.xxx.

7. Restart network service: systemctl restart network.


Commands will get you the private IP address of your interfaces:

i. ifconfig -a.

ii. ip addr (ip a)

iii. hostname -I | awk '{print $1}'

iv. (Fedora) Wifi-Settings→ click the setting icon next to the Wifi name that you are connected to → Ipv4 and Ipv6 both can be seen.

v. nmcli -p device show.



This article will guide you on the different methods to modify the date, time, and Timezone of your #Ubuntu 20.04 system. 

However, if you have attempted to change these entities just for the sake of demonstration, then it is highly recommended to activate the #NTP Service again once you are done so that your system can again synchronize itself with NIST atomic clock. 

This can be done by running the “timedatectl set-ntp yes” command.

To change the time zone in Linux systems use the sudo timedatectl set-timezone command followed by the long name of the time zone you want to set.


To change the hostname in #Linux:

1. Type the following command to edit /etc/hostname using nano or vi text editor: sudo nano /etc/hostname. Delete the old name and setup new name.

2. Next Edit the /etc/hosts file: sudo nano /etc/hosts.

3. Reboot the system to changes take effect: sudo reboot.


#NTP server sync date and time in Linux by:

i. On the Linux machine, log in as root.

ii. Run the ntpdate -u <ntpserver> command to update the machine clock. For example, ntpdate -u ntp-time.

iii. Open the /etc/ntp. conf file and add the NTP servers used in your environment.

iv. Run the service ntpd start command to start the NTP service and implement you configuration changes.



This article will guide you on the different methods through which you can easily figure out the private IP #address of your Debian 10 system.

The network statistics ( netstat ) command is a networking tool used for troubleshooting and configuration, that can also serve as a monitoring tool for connections over the network. Both incoming and outgoing connections, routing tables, port listening, and usage statistics are common uses for this #command.

To find out the #IP address of #Linux system, you need to use the command called ifconfig on #Unix and the ip command or hostname command on Linux. 


To get you the private IP address of your interfaces:

i. ifconfig -a.

ii. ip addr (ip a).

iii. hostname -I | awk '{print $1}'.

iv. ip route get 1.2.

v. (Fedora) Wifi-Settings - click the setting icon next to the Wifi name that you are connected to - Ipv4 and Ipv6 both can be seen.

vi. nmcli -p device show.



This guide will help you to Find Your Public IP address in #Ubuntu 20.04 LTS. 

ipconfig stands for Internet Protocol Configuration, while ifconfig stands for Interface Configuration.

The #ifconfig command is supported by Unix-based operating systems.

The ipconfig command displays all the currently connected network interfaces whether they are active or not.

The presence of a #public IP #address on your router or computer will allow you to organize your own server (VPN, FTP, WEB, etc.), remote access to your computer, video surveillance cameras, and access them from anywhere in the global network.


To Find Local / Public IP Address in #Ubuntu 20.04:

1. Open Settings and navigate to Network in left pane.

2. Click on the gear icon under connected wired network.

3. In the pop-up it shows the detailed information including your IP address.


To find my IP address and port number in Linux:

i. All you have to do is type “netstat -a” on Command Prompt and hit the Enter button. 

ii. This will populate a list of your active TCP connections. 

iii. The port numbers will be shown after the IP address and the two are separated by a colon.



This article will guide you on the how to set up a static IP configuration in #Debian 10. Using either the command line or #GUI method, you can easily configure the static IP address on your system.

The ifconfig utility is used to change the IP address of a network interface.

To change your #IP address on #Linux, use the “ifconfig” command followed by the name of your network interface and the new IP address to be changed on your computer. 

To assign the subnet #mask, you can either add a “netmask” clause followed by the subnet mask or use the CIDR notation directly.

To Configure static IP address on Ubuntu 16.04 LTS Server:

1. Edit the /network/interfaces file. sudo nano /etc/network/interfaces.

2. Restart the networking service (or reboot) Once you are confident the change has been made, and if you don't want to reboot you can just restart the networking service.

To Display Available Network Interfaces in Linux:

i. ip #command – It is used to show or manipulate routing, devices, policy routing and tunnels.

ii. #netstat command – It is used to display network connections, routing tables, interface statistics, masquerade connections, and multicast memberships.

iii. #ifconfig command – It is used to display or configure a network interface.



This article will guide you on how you can log out from your Debian 10 system. Here, you will learn the different methods of logging out of a #Debian system. 

exit command in #linux is used to exit the shell where it is currently running. 

It takes one more parameter as [N] and exits the shell with a return of status N. 

If n is not provided, then it simply returns the status of last #command that is executed. Syntax: exit [n].

pkill is a command-line utility that sends signals to the processes of a running program based on given criteria. 

The processes can be specified by their full or partial names, a user running the process, or other attributes.



This article will guide you on methods to logout from the Linux #Mint. Based on your convenience, you can use either the keyboard shortcut or the system menu to logout from your session. When you use a terminal or if you log in to an #Ubuntu system via #SSH, you open a shell session. If you want to logout from your session, you simply exit the #shell. This is why the exit command is equivalent to log out command in Linux.

To switch users in #Linux:

The su command lets you switch the current user to any other user. 

If you need to run a command as a different (non-root) user, use the –l [username] option to specify the user account. 

Additionally, su can also be used to change to a different shell interpreter on a go.



This article will guide you on how to shut down your Debian 10 system properly using different methods.

If you run a desktop environment, there is usually an option to "log out" available from the #application menu that allows you to shutdown (or #reboot) the system. 

Alternatively you can press the key combination Ctrl+Alt+Del.

To shut down #Linux:

1. To shut down the system from a terminal session, sign in or "su" to the "root" account. 

2. Then type ``/sbin/shutdown -r now''. It may take several moments for all processes to be terminated, and then Linux will shut down.



This article will guide you on different installation methods for the VLC. We have also seen how we can uninstall this streaming #software from the system when it is not needed.

VLC Media Player is one of the most well known and arguably best media players available for any platform, including Windows. #VLC can also help you convert video files from one format to another, save YouTube videos for offline playback, and record your own videos using your webcam.

Using #Linux #Terminal to Install VLC in #Ubuntu:

1. Click on Show Applications.

2. Search for and launch Terminal.

3. Type the command: sudo snap install VLC .

4. Provide the sudo password for authentication.

VLC will be downloaded and installed automatically.



This article will guide you on how to #install #MySQL server on Debian 10 #Linux system. Also we looked into how to secure the installation and connect with the MySQL shell. Using the Validate password #plugin you can make a more secure database MySQL password #authentication.

MySQL is an #RDBMS tostore, retrieve, modify and administrate a database usingSQL.

The mysql #command:

1. -h followed by the server host name (server.linuxapt.com).

2. -u followed by the account user name (use your MySQL username).

3. -p which tells mysql to prompt for a password.

4. database the name of the database (use your database name).



This article will guide you on different methods to view detailed information on your battery using both the #command line and UI.

To check your #battery health you'll want to open the app, click on the relevant battery item in the sidebar, and double-check that you're faced with the Details tab.

1. Use upower command to check battery status from command line:

Type the following command:

$ upower -i /org/freedesktop/UPower/devices/battery_BAT0

2. Displaying #Linux Laptop Battery Status Using the apci #terminal command

The acpi command may not be installed by default so use apt-get command or yum command to install the same:

$ sudo yum install acpitool

3. Use /proc/acpi/ directory to get laptop battery info (deprecated method)

You can browse the same data by visiting /proc/acpi/ directory:

$ cd /proc/acpi/

$ ls -l



This article will guide you on steps to install #XAMPP on Linux Mint 20. You will also learn the method of uninstalling XAMPP web server whenever you feel like it.

The #htdocs folder can be found in /opt/lampp/ . You can navigate to your root folder from the file manager (nautilus by default), by clicking on Other locations from the sidebar, then #Computer . From there you can find the opt folder that contains the lampp folder.

To install xampp in MX #Linux:

1. Click XAMPP for Linux. It's in the middle of the page.

2. Allow the download to complete.

3. Open #Terminal.

4. Change over to the "Downloads" directory.

5. Make the downloaded file executable.

6. Enter the installation #command.

7. Enter your password when prompted.

8. Follow the installation prompts.



This article will guide you on steps to write your first C #program. Hello World! the program may seem useless and simple, but it is the best way to get started on learning how to program. By writing this yourself, you better under concepts that may otherwise seem abstract and vague. To run C program: Open #Command #prompt or Terminal(if you use #Ubuntu or Mac OS), and go to the directory where you have saved the hello. c program file. Now, to run the program, type in ./a. out and you will see Hello, World displayed on your screen. To compile and run a C program on Ubuntu Linux using the gcc compiler: 1. Open up a #terminal. Search for the terminal application in the Dash tool (located as the topmost item in the Launcher). 2. Use a text editor to create the C source code. 3. #Compile the program. 4. Execute the program.



This article will guide you on steps to install #Notepad++ on Ubuntu 20.04 #Linux operating system using snap package manager. Notepad++ is a #GUI based user friendly text editor that can be used on #Linux as well as on Windows platform. To #Install Notepad++ on Ubuntu 20.04 : 1. Install Notepad++ on Ubuntu 20.04. Notepad++ runs over the WINE platform, which provides compatibility for the Windows application on Unix-like operating systems. 2. Open Notepad++. 3. Uninstall Notepad++.



This article will guide you on how to use the #mount and #umount command to attach and detach various file systems. You can perform this task on several media options like ISO file, NFS share and USB flash drive. Mounting will not erase everything. The #disk does get modified slightly each time you mount it, though. However, since you have serious directory corruption which cannot be repaired by Disk Utility you need to repair and replace the directory before it can be mounted.



This article will guide you on how to check your Ubuntu version so that you can apply patches and update versions for security and performance reasons. The Process of Checking the #Ubuntu version in the #terminal ? i. Open the terminal using "Show Applications" or use the keyboard shortcut [Ctrl] + [Alt] + [T]. ii. Type the #command "lsb_release -a" into the command line and press enter. iii. The terminal shows the Ubuntu version you're running under "Description" and "Release".



This article will guide you on how to use the #cat #command to display or create a new file on #Linux. To save a file, you must first be in Command mode. Press Esc to enter Command mode, and then type :wq to write and quit the file. The other, quicker option is to use the keyboard shortcut ZZ to write and quit.



This article will guide you on how to configure a Static IP address on CentOS 8.




More Linux Tutorials

We create Linux HowTos and Tutorials for Sys Admins. Visit us on IbmiMedia.com

Also for Tech related tips, Visit forum.outsourcepath.com or General Technical tips on www.outsourcepath.com