Language Selection

English French German Italian Portuguese Spanish

today's howtos

Filed under
HowTos
  • Essential Guide: How to Install Docker on Ubuntu 20.04 LTS (Beginners Guide)

    Docker is a combo of ‘platform as a service’ products and services which use OS virtualisation to provide software in packages called containers.

    Containers contain everything an app, tool or service needs to run, including all libraries, dependencies, and configuration files. Containers are also isolated from each other (and the underlying host system), but can communicate through pre-defined channels.

  • Demux, mux and cut MP4 in ffmpeg

    Sometimes video and audio needs to be separated into individual files (aka demuxed). This can be handy when some audio artifacts need to be removed (e.g. noise or buzz) from the audio track (aka stream). This can be done easily...

  • Oracle Linux 8: Containers made easy with short training videos

    Container technology provides a means for developers and system administrators to build and package applications together with libraries, binaries, and configuration files so they can run independently from the host operating system and kernel version. You can run the same container application, unchanged, on laptops, data center virtual machines, and on a cloud environment.

  • Fix for 2createpackages in woofQ

    WoofQ is the build system for EasyOS. It has scripts '0setup', '1download', '2createpackages' and '3buildeasydistro', that are run in that order. The script '2createpackages' splits each input package into _EXE, _DEV, _DOC and _NLS components.

    Recently, when compiling LibreOffice in EasyOS on the Pi4, the configure step reported that the system boost libraries cannot be used, as some header files were missing. So, I had to use the internal boost, which does make the final LibreOffice PET bigger than it could have been.

  • How to Install and Remove Packages in Arch Linux

    Want to install packages on Arch Linux but do not know how? A lot of people face this problem when they first migrate from Debian-based distributions to Arch. However, you can easily manage packages on your Arch-based system using package managers.

    Pacman is the default package manager that comes pre-installed in every Arch distribution. But still, there's a need for other package managers as Pacman doesn't support packages from the Arch User Repository.

  • How to Manage Systemd Services with Systemctl on Linux

    Systemd a standard process for managing start-up services in Linux operating systems. It is used for controlling which programs run when the Linux system boots up. It is a system manager and has become the new standard for Linux operating systems. Systemd allows you to create a custom systemd service to run and manage any process. In this tutorial, we will explain how to manage services with systemd on Linux.

  • How to install Synfig Studio on Linux Mint 20.1 - YouTube

    In this video, we are looking at how to install Synfig Studio on Linux Mint 20.1.

  • How to install Ubuntu Unity Remix 20.10 - YouTube

    In this video, I am going to show how to install Ubuntu Unity Remix 20.10.

  • How to Exclude a Directory While Finding Files in Linux

    In Linux, the find command is used to search for files or folders from the command line. It is a complex command and has a large number of options, arguments, and modes.

    The most common use of the find command is to search for files using either a regular expression or the complete filename(s) to be searched.

  • How to Copy Files with Specific File Extension Recursively

    In Linux, the command ‘cp‘, which standards for ‘Copy‘ is used to copy files and folders to another folder. It is available by default in Linux as part of the GNU Coreutils set of tools.

    The most basic use of the cp command is to specify the files to be copied as the arguments and to specify the target folder as the last argument.

  • How to Copy Large Number of Files in Linux

    We use the cp command in Linux to copy files and directories from one directory to another. It can be simply used to copy a few files or directories, or it can be used with the '-r' argument (which stands for ‘recursive‘) to copy a directory and the whole directory tree structure underneath it.

  • What is /dev/null in Linux

    The ‘/dev‘ directory in Linux and Unix based systems contains files corresponding to devices attached to the system. For example, as seen in the screenshot below, the CD drive is accessed using ‘cdrom‘, DVD drive with ‘dvd‘, hard drives are accessed using ‘sda1‘, ‘sda2‘, etc.

    All these files communicate with the Linux system through the respective files in ‘/dev‘. The input/output processing of the devices takes place through these files. This is due to an important feature of the filesystem in Linux: everything is either a file or a directory.

  • What is ‘> /dev/null 2>&1’ in Linux

    /dev/null is a pseudo-device file in Linux, which is used to discard output coming from programs, especially the ones executed on the command line. This file behaves like a sink, i.e. a target file which can be written, however as soon as any stream of data is written to this file, it is immediately deleted.

    This is useful to get rid of the output that is not required by the user. Programs and processes can generate output logs of huge length, and it gets messy at times to analyze the log.

  • Learn the main Linux OS components

    Evolved from Unix, Linux provides users with a low-cost, secure way to manage their data center infrastructure. Due to its open source architecture, Linux can be tricky to learn and requires command-line interface knowledge as well as the expectation of inconsistent documentation.

    In short, Linux is an OS. But Linux has some features and licensing options that set it apart from Microsoft and Apple OSes. To understand what Linux can do, it helps to understand the different Linux OS components and associated lingo.

  • How to Redirect Output to /dev/null in Linux

    In Linux, programs are very commonly accessed using the command line and the output, as such, is displayed on the terminal screen. The output consists of two parts: STDOUT (Standard Output), which contains information logs and success messages, and STDERR (Standard Error), which contains error messages.

    Many times, the output contains a lot of information that is not relevant, and which unnecessarily utilizes system resources. In the case of complex automation scripts especially, where there are a lot of programs being run one after the other, the displayed log is huge.

  • How to Move Large Number of Files in Linux

    To move files from one directory to another, the ‘mv‘ command is used in Linux. This command is available in Linux by default and can be used to move files as well as directories.

  • How to Limit the Depth of Recursive File Listing in Linux

    In this article, you will learn how to list file directory structure and limit the depth of recursive file display in Linux.

  • How to Find Top Running Processes by Memory Usage

    We will use the top command-line tool, which is a task manager in Unix and Linux systems that shows all the details about running processes with memory usage.

  • How to Extract Email Addresses from Text File in Linux

    In this article, you will learn how to extract Email addresses from a text file in Linux, using the handy command-line tool Grep.

More in Tux Machines

digiKam 7.7.0 is released

After three months of active maintenance and another bug triage, the digiKam team is proud to present version 7.7.0 of its open source digital photo manager. See below the list of most important features coming with this release. Read more

Dilution and Misuse of the "Linux" Brand

Samsung, Red Hat to Work on Linux Drivers for Future Tech

The metaverse is expected to uproot system design as we know it, and Samsung is one of many hardware vendors re-imagining data center infrastructure in preparation for a parallel 3D world. Samsung is working on new memory technologies that provide faster bandwidth inside hardware for data to travel between CPUs, storage and other computing resources. The company also announced it was partnering with Red Hat to ensure these technologies have Linux compatibility. Read more

today's howtos

  • How to install go1.19beta on Ubuntu 22.04 – NextGenTips

    In this tutorial, we are going to explore how to install go on Ubuntu 22.04 Golang is an open-source programming language that is easy to learn and use. It is built-in concurrency and has a robust standard library. It is reliable, builds fast, and efficient software that scales fast. Its concurrency mechanisms make it easy to write programs that get the most out of multicore and networked machines, while its novel-type systems enable flexible and modular program constructions. Go compiles quickly to machine code and has the convenience of garbage collection and the power of run-time reflection. In this guide, we are going to learn how to install golang 1.19beta on Ubuntu 22.04. Go 1.19beta1 is not yet released. There is so much work in progress with all the documentation.

  • molecule test: failed to connect to bus in systemd container - openQA bites

    Ansible Molecule is a project to help you test your ansible roles. I’m using molecule for automatically testing the ansible roles of geekoops.

  • How To Install MongoDB on AlmaLinux 9 - idroot

    In this tutorial, we will show you how to install MongoDB on AlmaLinux 9. For those of you who didn’t know, MongoDB is a high-performance, highly scalable document-oriented NoSQL database. Unlike in SQL databases where data is stored in rows and columns inside tables, in MongoDB, data is structured in JSON-like format inside records which are referred to as documents. The open-source attribute of MongoDB as a database software makes it an ideal candidate for almost any database-related project. This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo‘ to the commands to get root privileges. I will show you the step-by-step installation of the MongoDB NoSQL database on AlmaLinux 9. You can follow the same instructions for CentOS and Rocky Linux.

  • An introduction (and how-to) to Plugin Loader for the Steam Deck. - Invidious
  • Self-host a Ghost Blog With Traefik

    Ghost is a very popular open-source content management system. Started as an alternative to WordPress and it went on to become an alternative to Substack by focusing on membership and newsletter. The creators of Ghost offer managed Pro hosting but it may not fit everyone's budget. Alternatively, you can self-host it on your own cloud servers. On Linux handbook, we already have a guide on deploying Ghost with Docker in a reverse proxy setup. Instead of Ngnix reverse proxy, you can also use another software called Traefik with Docker. It is a popular open-source cloud-native application proxy, API Gateway, Edge-router, and more. I use Traefik to secure my websites using an SSL certificate obtained from Let's Encrypt. Once deployed, Traefik can automatically manage your certificates and their renewals. In this tutorial, I'll share the necessary steps for deploying a Ghost blog with Docker and Traefik.