How to Record Linux Terminal Sessions?

Pradeep Jhuriya
Updated on 17-Mar-2026 09:01:38

7K+ Views

Recording Linux terminal sessions is valuable for documenting commands, troubleshooting, sharing workflows, and creating tutorials. This article explores three popular methods to capture terminal activity: the built-in script command, the ttyrec/ttyplay combo, and the modern asciinema tool. Method 1: Using the script Command The script command is a built-in Linux utility that captures all terminal output to a plain text file. It records everything displayed in the terminal, including commands, output, and control characters. Basic Usage To start recording, run script followed by the output filename: $ script my_session.txt Script started, file is my_session.txt ... Read More

Linux last Command

Pradeep Jhuriya
Updated on 17-Mar-2026 09:01:38

7K+ Views

The last command is a powerful Linux utility used to display a list of users who have previously logged in to the system. This command is especially useful for system administrators who need to track user activity and monitor login sessions on servers. The last command can display various information including login dates, session duration, and the terminal or device used to access the system. Syntax and Options The basic syntax of the last command is as follows − last [options] [username] Common options available with the last command include − ... Read More

Using xz Compression in Linux

Satish Kumar
Updated on 17-Mar-2026 09:01:38

5K+ Views

xz compression is a high-ratio data compression tool widely used in Linux environments to reduce file sizes, improve transfer speeds, and save storage space. Developed by Lasse Collin and based on the LZMA (Lempel-Ziv-Markov chain-Algorithm) compression algorithm, xz offers superior compression ratios compared to traditional tools like gzip and bzip2. How xz Compression Works The xz algorithm breaks input data into small blocks and compresses each block independently using the LZMA algorithm. The compressed blocks are then combined and stored in an output file with the .xz extension. LZMA uses a combination of dictionary-based and statistical compression techniques ... Read More

3 Ways to Install Spotify [Music Streaming] in Fedora Linux

Satish Kumar
Updated on 17-Mar-2026 09:01:38

1K+ Views

If you're a music lover using Fedora Linux as your primary operating system, you might be wondering how to install Spotify. Fortunately, there are several straightforward methods to get Spotify running on Fedora Linux. This article explores the three most reliable and practical ways to install Spotify on your Fedora system. Method 1: Install Spotify Using Flatpak One of the easiest and most reliable ways to install Spotify on Fedora Linux is using Flatpak. Flatpak is a universal packaging system that provides sandboxed applications with consistent dependencies across different Linux distributions. Steps to Install via Flatpak ... Read More

How to run a command inside Docker Container?

Raunak Jain
Updated on 17-Mar-2026 09:01:38

3K+ Views

After you build a Docker image and create a running instance of it (a Docker container), you might want to execute commands inside the container to install packages, browse directories, or perform various tasks. Docker provides several methods to access the container environment and execute commands. In this article, we will explore different ways to run commands inside Docker containers. Using Docker exec Command The docker exec command allows you to run commands in a running container from your local machine's command line. First, you need the container ID of the target container. Get Container Information ... Read More

5 Best Open Source Disk CloningBackup Tools for Linux Servers

Satish Kumar
Updated on 17-Mar-2026 09:01:38

838 Views

Disk cloning and backup is an essential task for system administrators to ensure data safety and security. A disk cloning and backup tool creates a replica of an entire hard disk or specific partitions. This cloned data can be used to restore systems in case of hardware failure, system crashes, or data loss. In this article, we will discuss the top five open-source disk cloning and backup tools for Linux servers. Clonezilla Clonezilla is a widely-used open-source disk cloning and backup tool that supports various file systems including ext2, ext3, ext4, ReiserFS, XFS, JFS, Btrfs, NTFS, FAT, and ... Read More

5 Quirky ‘ls’ Command Tricks Every Linux User Should Know

Satish Kumar
Updated on 17-Mar-2026 09:01:38

413 Views

If you are a Linux user, you are probably familiar with the ls command, which is used to list contents of a directory. However, did you know that there are several quirky and useful tricks that you can use with the ls command? In this article, we will explore five powerful techniques that every Linux user should know. Displaying File Size in Human-Readable Format By default, the ls command displays file size in bytes. However, this can be difficult to read, especially for larger files. Fortunately, you can use the -h option to display file size in a ... Read More

How to Install Ajenti Control Panel in Debian and Ubuntu

Satish Kumar
Updated on 17-Mar-2026 09:01:38

2K+ Views

Ajenti is an open-source web-based control panel that allows users to manage their servers and applications through a graphical user interface. It is written in Python and is compatible with multiple operating systems, including Debian and Ubuntu. In this tutorial, we will guide you through the steps required to install Ajenti Control Panel in Debian and Ubuntu. Prerequisites Before starting the installation, ensure you have − A Debian or Ubuntu server with root access An active internet connection At least 512MB RAM and 1GB disk space Step 1: Update System Before proceeding ... Read More

How to Install Anaconda on Ubuntu 18.04 and 20.04?

Satish Kumar
Updated on 17-Mar-2026 09:01:38

9K+ Views

Anaconda is an open-source distribution of Python and R programming languages used for data science, machine learning, and artificial intelligence projects. It comes with various pre-installed libraries and packages that are useful for scientific computing, data analysis, and data visualization. This tutorial covers the complete installation and setup process for Anaconda on Ubuntu 18.04 and 20.04. Prerequisites Before installing Anaconda on Ubuntu 18.04 or 20.04, you should have access to a terminal window or command-line interface with superuser privileges. Step 1: Download Anaconda Download the Anaconda installer directly from the command line using wget. First, navigate ... Read More

How does one remove a Docker image?

Raunak Jain
Updated on 17-Mar-2026 09:01:38

2K+ Views

When working with Docker for extended periods, your local machine accumulates unused images from previous downloads, older versions, or testing purposes. These images consume significant disk space and can impact system performance. Additionally, dangling images (untagged images that are no longer referenced) contribute to storage bloat. Docker provides several commands to remove images efficiently: docker image rm, docker rmi, and docker image prune. Each command offers various options for strategic image removal, helping you maintain a clean Docker environment. Basic Image Removal Commands The primary command for removing Docker images is: $ docker image rm ... Read More

Advertisements