Articles on Trending Technologies

Technical articles with clear explanations and examples

Bash Special Variables in Linux

Satish Kumar
Satish Kumar
Updated on 17-Mar-2026 549 Views

Bash (Bourne Again SHell) is the default shell for most Linux systems. It is a command language interpreter that executes commands from standard input, files, or command-line arguments. Bash provides a set of special variables that contain various system-related and user-related information. These variables are automatically set by the shell and provide crucial data for script execution and system monitoring. What are Bash Special Variables? Bash special variables are predefined variables that store system and user-related information. They are prefixed with the $ symbol and are automatically updated by the shell. These variables are essential for creating robust ...

Read More

5 Reasons Why Linux is Better than Windows For Servers

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

In recent years, Linux has become a popular choice for server operating systems, competing with Windows in the enterprise world. There are several reasons why Linux is considered better than Windows for servers, ranging from cost-effectiveness to security. In this article, we will explore five key reasons why Linux is a better choice for servers than Windows. Open Source Nature One of the biggest advantages of Linux over Windows is its open-source nature. This means that anyone can access and modify the code that makes up the operating system. This is important for servers as it allows administrators ...

Read More

How to Install and Configure Ansible on Windows?

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

Ansible is a popular open-source automation tool that allows system administrators to automate repetitive tasks and manage multiple servers simultaneously. It is widely used for configuration management, application deployment, and task automation. While Ansible is primarily designed for Linux and Unix-based systems, it can also be installed on Windows. In this article, we will guide you through the process of installing and configuring Ansible on Windows. Requirements Before we begin, make sure your Windows machine meets the following requirements − A Windows operating system (Windows 10, Windows 11, or Windows Server 2016 or later) A minimum ...

Read More

Exclude directories while using grep command?

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

The grep command is a powerful text searching utility in Linux that allows you to search for specific patterns within files. When performing recursive searches across directory trees, you may want to exclude certain directories to improve performance or avoid searching through irrelevant content such as log directories, cache folders, or version control directories. The --exclude-dir option provides an efficient way to skip specified directories during recursive grep operations, making your searches faster and more targeted. Exclude Single Directory To exclude a single directory from your grep search, use the --exclude-dir option with the -R (recursive) flag. ...

Read More

Detach Screen From Another SSH Session

Pradeep Jhuriya
Pradeep Jhuriya
Updated on 17-Mar-2026 597 Views

Screen is a terminal multiplexer in Linux that allows you to create multiple virtual terminal sessions within a single SSH connection. Sometimes you may need to detach or manage screen sessions that are running in other SSH connections, especially when working on shared servers or when sessions are accidentally left running. Listing Active Screen Sessions Before detaching any screen session, you need to identify which sessions are currently running. Use the following command to list all active screen sessions: screen -ls This will display output similar to: There are 2 screens on: ...

Read More

4 Free Shell Scripting eBooks for Linux Newbies and Administrators

Satish Kumar
Satish Kumar
Updated on 17-Mar-2026 833 Views

As Linux continues to gain popularity as an operating system for servers and other computing devices, the need for skilled Linux administrators is on the rise. One crucial skill for any Linux administrator is shell scripting. Shell scripting is the process of creating programs that automate tasks in a Linux environment, making it easier and faster for administrators to manage their systems. If you are new to Linux or are looking to improve your shell scripting skills, there are several free ebooks available to help you get started. In this article, we will explore four free ebooks that are ...

Read More

How to use an OVS Bridge for Networking on Docker?

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

OVS bridges or Open vSwitch bridges are used as an alternative to the native bridges in Linux. They support most features found in physical switches while also supporting multiple VLANs on a single bridge. OVS is widely used in Docker networking because it provides enhanced multi-host networking capabilities and more secure communication compared to native bridges. In this article, we will discuss how to perform Docker networking using Open vSwitch bridges (OVS). We will cover the installation of OVS and the OVS utility for Docker, create an OVS bridge, connect two Docker containers to the bridge, and test the ...

Read More

Run a Function in a Script from the Command Line on Linux

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

BASH (Bourne Again Shell) is a Unix shell and command language widely used in Linux and Unix-like operating systems. One powerful feature of BASH is the ability to create and use functions within script files. Functions are reusable blocks of code that perform specific tasks and can be executed from within the script or directly from the command line. Prerequisites Before we begin, you will need − A Linux system with a command line interface (or SSH access). A script containing a function you want to run (your custom script). The required permissions to execute the ...

Read More

Build a flask App using Docker Compose

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

Docker Compose allows you to build multi-container Docker applications. If you are working on a microservice project where you have different nodes working on different parts of the project, Docker Compose is exactly what you need. Using Docker Compose, you can work on different components of the project on different Docker containers and combine them to create a single application. In this article, we are going to discuss how to build a Flask application which uses Python modules and we will try to run it inside a Docker container using Docker Compose. Installing Docker Compose First, you ...

Read More

5 Shell Scripts for Linux Newbies to Learn Shell Programming

Satish Kumar
Satish Kumar
Updated on 17-Mar-2026 731 Views

If you're new to Linux, learning shell scripting can seem daunting at first. However, shell scripting can be an incredibly useful skill to have when working with Linux systems. Shell scripts can automate repetitive tasks, perform system administration tasks, and even help with software development. In this article, we'll look at five essential shell scripts that Linux newbies can learn to get started with shell programming. We'll cover some basics of shell scripting, and provide examples of each script to help you understand how they work. What is Shell Scripting? A shell script is a program written ...

Read More
Showing 9281–9290 of 61,297 articles
« Prev 1 927 928 929 930 931 6130 Next »
Advertisements