Articles on Trending Technologies

Technical articles with clear explanations and examples

Split a File at Given Line Number

Pradeep Jhuriya
Pradeep Jhuriya
Updated on 17-Mar-2026 5K+ Views

The split command in Linux is a powerful utility used to divide large files into smaller, more manageable chunks. This is particularly useful when dealing with log files, databases, or large datasets that need to be processed in smaller portions or transferred across systems with size limitations. How the Split Command Works The split command reads an input file and creates multiple output files based on specified criteria such as number of lines, file size, or patterns. By default, it generates files with alphabetical suffixes starting from aa, ab, ac, and so on. Basic Syntax ...

Read More

3 Ways to Set a Static IP Address in RHEL 8

Satish Kumar
Satish Kumar
Updated on 17-Mar-2026 22K+ Views

RHEL 8 (Red Hat Enterprise Linux 8) is a popular Linux-based operating system used by many organizations for their servers and workstations. In RHEL 8, IP (Internet Protocol) addresses can be set dynamically or statically. A dynamic IP address is assigned automatically by a DHCP (Dynamic Host Configuration Protocol) server, while a static IP address is manually configured by the user. In this article, we will discuss three ways to set a static IP address in RHEL 8. Using Network Manager GUI The Network Manager GUI is a graphical user interface that makes it easy to manage network ...

Read More

Maintain and Manipulate Docker Containers

Raunak Jain
Raunak Jain
Updated on 17-Mar-2026 436 Views

Knowing how to create a dockerfile and build a docker image using that dockerfile, we can move ahead and dive deep into more advanced ways to manipulate docker containers. When we talk about manipulating docker containers, we include running, listing, restarting, cleaning up the dangling containers, running containers in interactive and detached modes, creating containers using executable images, executing commands inside docker containers using exec command and starting a bash inside a container, accessing logs from a docker container and killing or stopping a docker container. Without any further ado, let's dive deep into manipulating docker containers. Running ...

Read More

How to Install and Configure an NFS Server on Ubuntu 18.04?

Satish Kumar
Satish Kumar
Updated on 17-Mar-2026 6K+ Views

Network File System (NFS) is a distributed file system protocol that enables remote clients to access shared files over a network as if they were stored locally. Installing and configuring an NFS server on Ubuntu 18.04 allows you to create centralized file storage for multiple Linux systems on your network. Prerequisites Before proceeding, ensure you have root privileges or sudo access on your Ubuntu 18.04 system. You should also know the IP addresses of client machines that will access the NFS shares. Step 1: Update System Packages First, update your system's package repository and upgrade existing ...

Read More

How to copy Docker images from one host to another without using a repository?

Raunak Jain
Raunak Jain
Updated on 17-Mar-2026 3K+ Views

Docker images can be transferred from one host to another without using a repository like Docker Hub. While pushing to a registry is the standard approach, there are several alternative methods that allow direct image transfer between machines without creating accounts or managing repositories. These methods are particularly useful for offline environments, private networks, or when you need to quickly share images without internet access. Let's explore the most effective techniques for copying Docker images directly between hosts. Method 1 − Saving and Loading from TAR Files Docker provides built-in commands to export images as compressed TAR ...

Read More

Running a static site on Apache Server from Docker

Raunak Jain
Raunak Jain
Updated on 17-Mar-2026 2K+ Views

Docker containers are widely used in development workflows for building, distributing, testing, and deploying applications. They enable developer collaboration, version management, and local testing by hosting applications on containerized servers. This article demonstrates how to run a static website on an Apache server inside a Docker container and access it through your local browser. A static website consists of HTML, CSS, and minimal JavaScript without dynamic content rendering. Project Structure First, create the following directory structure − project-folder/ ├── Dockerfile └── mysite/ └── index.html Creating the Static Website ...

Read More

Difference between Deadlock Prevention and Deadlock Avoidance

Arnab Chakraborty
Arnab Chakraborty
Updated on 17-Mar-2026 13K+ Views

Deadlock prevention and avoidance are crucial techniques in operating systems to ensure continuous operation without system-wide halts. Deadlocks can cause data loss, system downtime, and reduced productivity, making these techniques essential for maintaining system availability and reliability. What is Deadlock? A deadlock is a situation where two or more processes are unable to proceed because they are waiting for each other to release resources. This creates a circular dependency where processes remain stuck in a waiting state, causing a system-wide halt. Deadlock occurs when four conditions are met simultaneously: mutual exclusion, hold and wait, no preemption, and circular ...

Read More

How to Install and Configure Ansible on Ubuntu 20.04?

Satish Kumar
Satish Kumar
Updated on 17-Mar-2026 6K+ Views

Ansible is an open-source automation tool that simplifies software provisioning, configuration management, and application deployment. It uses a simple YAML syntax to describe tasks in playbooks and can manage multiple servers from a central location. This article will guide you through installing and configuring Ansible on Ubuntu 20.04. Step 1: Update System Packages Before installing Ansible, update your system packages to the latest versions. Open your terminal and execute the following commands: sudo apt update sudo apt upgrade -y These commands will update and upgrade all installed packages on your system. Step 2: ...

Read More

Symmetric Multiprocessing

Kristi Castro
Kristi Castro
Updated on 17-Mar-2026 7K+ Views

Symmetric Multiprocessing (SMP) is a multiprocessor architecture where multiple processors share a common memory and operating system. All processors work together as equals to execute processes, with the operating system treating each processor identically and no processor reserved for special purposes. Most computer systems are single processor systems, but multiprocessor systems are increasing in importance nowadays. These systems have multiple processors working in parallel that share the computer clock, memory, bus, and peripheral devices. Types of Multiprocessor Systems There are mainly two types of multiprocessor systems − Symmetric Multiprocessor System − All processors are treated ...

Read More

Insert a Line at Specific Line Number

Pradeep Jhuriya
Pradeep Jhuriya
Updated on 17-Mar-2026 21K+ Views

Inserting a line at a specific line number in a file is a common task in Linux system administration and text processing. The sed (stream editor) command provides a powerful and flexible way to accomplish this task efficiently from the command line. What is sed? sed stands for "stream editor" and is a command-line utility that allows you to modify file contents by applying various operations such as replacing text, deleting lines, and inserting lines. It processes text line by line, making it ideal for automated text processing and bulk file modifications. Basic Syntax for Line Insertion ...

Read More
Showing 9271–9280 of 61,297 articles
« Prev 1 926 927 928 929 930 6130 Next »
Advertisements