How To Fix Broken Packages in Ubuntu [Tutorial]

How To Fix Broken Packages in Ubuntu

Package managers like apt are one of the big selling points of Linux operating systems and Ubuntu – a vast curated collection of software that can do just about anything, available with a few keypresses. A vetted and (usually) reliable source of great software to meet any task. However, when something can go wrong, eventually it will go wrong. A package may only partially install or conflict with something else in your system environment. Maybe an update is pushed out that breaks an installation. When this happens, Ubuntu has a few … Read more

touch Command in Linux and Bash [with Examples]

touch Command in Linux

The touch command in Linux updates the timestamps on a file or creates the file if it doesn’t exist. See some examples and use cases below. It sounds useless, but it’s actually useful. For example, if you want to create an empty file called my_file.txt, you can just run: touch my_file.txt Easy! Updating the timestamps of a file is also useful. Say you have a file called favorite_tv.txt, which you use to keep the name of your current favorite TV show. Your favorite show 10 years ago was … Read more

How to Use The awk Command in Linux [With Examples]

awk command linux

This guide shows you how to use the awk command in Linux, with plenty of useful everyday examples. AWK is a tool and language for searching and manipulating text available for the Linux Operating System. The awk command and the associated scripting language search files for text defined by a pattern and perform a specific action on the text which matches the pattern. awk is a useful tool for extracting data and building reports from large text files or large numbers of text files – for example processing logs, or … Read more

How to Install Webmin on Ubuntu 20.04

How to Install Webmin on Ubuntu

Webmin is a system configuration tool that can be run on Linux. This step-by-step tutorial explains how to install Webmin on Ubuntu 20.04. Webmin makes it easy for newbies (and veterans) to monitor and manage their Linux system and the services running on it in a graphical, browser-based interface that can be accessed locally or remotely. It’s a great tool for people getting started to manage users, web server configurations, file servers, and more. Webmin includes a bunch of modules for common software like Apache … Read more

Don’t Install Yaourt on Arch Linux – use Yay instead!

install yay on arch

Yaourt (Yet AnOther User Repository Tool) is (was) a package manager for the Arch Linux distribution, which allowed for the installation of packages from the Arch User Repository (AUR). Don’t install Yaourt; it’s obsolete software. If you need a package manager for Arch Linux, install and use Yay instead! Yay is a package manager for Arch, which lets you install AUR packages. Why Yay? It’s actively developed and easy to install and use. Installing To install Yay for Arch Linux, run the following commands: sudo pacman -Syy sudo pacman -S –needed git base-devel git … Read more

How to Extract .tar.gz Files Using the tar Command in Linux

How to Extract .tar.gz Files

This guide explains how to use the tar command in Linux to extract files archived in the .tar.gz format. Many open-source packages for Linux are supplied for download in the .tar.gz archive format. .tar.gz archives behave much like .zip archives you might be more familiar with in that they contain and compress multiple files into a single archive file. The .tar.gz archive looks a bit different from other files – it appears to have two file extensions. This is because it’s the combination of two processes. tar (Tape ARchive) is a format for … Read more

Using the SCP Command to Securely Copy Files [Examples]

Using the SCP Command

SCP or Secure Copy securely transfers files between two hosts over the network using the SSH protocol. This tutorial explains how to use this popular command with numerous examples. SCP is pre-installed with most Linux distributions and is often used for deploying software to servers and backing up – frequently automated using Bash Scripts. SCP Command Syntax scp OPTIONS SOURCE … TARGET SCP has a lot of options that are outlined on the commands manual, available by running: man scp Here’s a summary of the most commonly used options from the … Read more

RAID 0, RAID 1, RAID 5 & RAID 10 Explained [With Images]

RAID 0, RAID 1, RAID 5 & RAID 10 Explained

This tutorial explores the popular raid levels, RAID 0, RAID 1, RAID 5 & RAID 10, with diagrams and explanations. What is RAID? RAID – Redundant Array of Inexpensive (or Independent) Disks is a data storage solution that works by combining multiple disks connected to a computer into a single storage unit. Data is spread across the disks in different ways depending on whether data integrity, access speed, or both are priorities. RAID can be implemented in software or hardware, and the Linux Operating systems support … Read more

How to List Containers in Docker (ls Command)

List Containers in Docker

Docker is a virtualization platform that runs on Linux. It allows you to manage and run virtual machines in containers from pre-built images that contain all of the configurations for the virtualized environment. This tutorial will show you how to list containers using the ls command, part of the new docker command structure. The ls command replaces the old ps command. The ps command will still work, but you should phase out using it. Syntax docker container ls [options] Docker versions older than 1.13 use the old ps command: docker ps [options] Options Both ls and ps accept the same command options: … Read more

Guide: Install and Use Docker on Ubuntu 20.04

Install and Use Docker Ubuntu

This is an express tutorial on getting Docker up and running on Ubuntu 20.04 – Fast! Docker is a virtualization platform that has exploded in popularity due to its ease of use and low resource overheads. It is used to run applications inside containers, making them portable and easy to install – all of their dependencies and configuration can be kept separate even though they are being run on the same host – reducing the time it takes to configure your system and making sure applications … Read more