Articles on Trending Technologies

Technical articles with clear explanations and examples

How To Delete Git Tag?

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

Git tags are labels assigned to specific points in the history of a repository. They serve as markers that identify important milestones such as releases, versions, or checkpoints in the development process. Unlike branches, Git tags are immutable references that provide an easy way to identify specific commits without remembering their hash values. Why Delete Git Tags? There are several scenarios where you might need to delete Git tags: Accidentally created a tag with the wrong name or version Need to clean up old or obsolete tags cluttering the repository Want to recreate a tag pointing ...

Read More

Create a Shared Directory on Samba AD DC and Map to Windows_Linux Clients

Mrudgandha Kulkarni
Mrudgandha Kulkarni
Updated on 17-Mar-2026 2K+ Views

In this tutorial, we will be setting up a shared directory on a Samba Active Directory Domain Controller (AD DC) and mapping it to Windows and Linux clients. This will allow users to access and share files between their computers easily and securely. Samba is an open-source software suite that provides file and print services on various operating systems, including Windows and Linux. Active Directory (AD) is a directory service developed by Microsoft, which is used to manage and authenticate network resources. Combining Samba and AD creates a powerful and flexible file-sharing solution for organizations of all sizes. Prerequisites ...

Read More

How to search contents of multiple pdf files on Linux?

Mukul Latiyan
Mukul Latiyan
Updated on 17-Mar-2026 2K+ Views

The pdfgrep command in Linux is a powerful utility used to search for specific text patterns within PDF files. It functions similarly to the standard grep command but is specifically designed for PDF documents, making it invaluable for searching through multiple PDF files simultaneously. The search pattern can be a simple text string or a regular expression, allowing for flexible and precise searches across your PDF collection. Installing pdfgrep For Ubuntu/Debian sudo apt-get update -y sudo apt-get install -y pdfgrep For CentOS/RHEL yum install pdfgrep For Fedora ...

Read More

Docker Container Network Namespace Is Invisible

Vishesh Kumar
Vishesh Kumar
Updated on 17-Mar-2026 773 Views

This article examines why Docker container network namespaces are invisible to the ip netns ls command and provides a solution to make them accessible for network debugging and management. Containerization Containerization is a lightweight virtualization technology where applications and their dependencies are packaged into portable containers. Unlike traditional virtual machines, containers share the host OS kernel and system resources, making them faster to start and more resource-efficient. Containers include only the necessary libraries, binaries, and runtime components needed for the application to run consistently across different environments. Docker Docker is a containerization platform that enables developers ...

Read More

Aborting a shell script on any command fails

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

By utilizing Bash scripts, we can have access to a powerful programming language. Writing such scripts is an efficient way to run several commands one after the other. However, by default, even if one command fails, the others will still be executed, which can lead to unexpected behavior or data corruption. We'll learn how we can add some safeguards so that these errors don't happen. The example code has been tested in Bash and should also work for other POSIX-compatible shell environments. The Problem Let's first take a look at how Bash handles error messages by default. ...

Read More

Using sed With a Literal String Instead of an Input File

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

The sed (Stream Editor) command is a powerful text processing tool that typically operates on files. However, it can also process literal strings directly without requiring input files. This capability is particularly useful for quick text transformations, scripting, and pipeline operations where you need to manipulate text data on-the-fly. Using the Echo Command with Pipes The most common method to use sed with a literal string is by piping the output of the echo command to sed. This approach allows you to process text directly from the command line. echo "This is an old string" | ...

Read More

How to check whether a process with a given PID is running

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

As a system administrator or developer, it's important to be able to monitor and manage processes running on your system. One of the key pieces of information you need to know is whether a particular process is currently running. In this article, we'll explore different ways to check whether a process with a given PID is running. What is a PID? Before we dive into ways to check if a process with a given PID is running, let's first define what a PID is. A PID (Process Identifier) is a unique identification number assigned to each process running ...

Read More

How to Reverse Order of Lines in a File in Linux

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

As a Linux user, you often need to reverse the order of lines in a file for various purposes like reading log files from most recent entries first, processing data in reverse chronological order, or preparing files for specific operations. This article explores several Linux commands that can accomplish this task efficiently. Using tac Command to Reverse Order of Lines The tac command (which is "cat" spelled backwards) is the simplest and most direct way to reverse line order in a file. It reads the file from end to beginning and prints each line in reverse order. ...

Read More

10 Cron Scheduling Task Examples in Linux

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

Linux is an operating system that is widely used in servers, supercomputers, and mobile devices. One of the powerful features of Linux is the ability to schedule tasks using a tool called Cron. Cron is a time-based job scheduler in Linux that allows users to run scripts or commands at specified intervals. In this article, we will discuss 10 practical Cron scheduling task examples in Linux. What is Cron? Cron is a time-based job scheduler in Linux that allows users to automate tasks at specified intervals. It can run scripts or commands at a specific time or a ...

Read More

How To Delete Helm Deployment And Namespace?

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

Helm is a package manager for Kubernetes that simplifies application deployment and management through charts. While deploying applications with Helm is straightforward, properly cleaning up deployments and namespaces is crucial for maintaining cluster health and resource efficiency. This article covers the essential steps to delete Helm deployments and Kubernetes namespaces, ensuring your cluster remains organized and free from unnecessary resource consumption. Understanding Helm and Kubernetes Components Kubernetes is a container orchestration platform that automates deployment, scaling, and management of containerized applications. Helm acts as its package manager, using charts to define, install, and upgrade complex Kubernetes applications. ...

Read More
Showing 8621–8630 of 61,297 articles
« Prev 1 861 862 863 864 865 6130 Next »
Advertisements