Articles on Trending Technologies

Technical articles with clear explanations and examples

How to edit a file after I shell to a Docker container?

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

When working with Docker containers, you may need to edit files directly inside the container after accessing its shell. This is common during debugging, configuration changes, or quick fixes. There are multiple approaches to achieve this, depending on whether you need a temporary solution or want to prepare an image with pre-installed editors. Accessing a Container Shell First, you need to access the container's shell. There are two main scenarios: Creating a New Container with Shell Access To create and run a new Ubuntu container with interactive shell access: $ docker run -it --name=mycont ...

Read More

Storage Area Networks

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

Storage Area Networks (SANs) are specialized high-speed networks that provide block-level access to consolidated storage devices. Unlike traditional file-based storage access, SANs make storage devices appear as locally attached drives to servers, enabling multiple systems to share storage resources efficiently. SANs are widely adopted across organizations of all sizes due to their cost-effectiveness and scalability. They separate storage resources from individual servers, creating a dedicated storage infrastructure that can be managed centrally. Storage Area Network Architecture Host Layer Server 1 ...

Read More

Remove Line Endings From a File on Linux

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

Line endings are special characters that mark the end of a line in a text file. On Unix-based systems like Linux, the line ending is represented by a single newline character (). On Windows, the line ending is represented by a combination of a carriage return (\r) and a newline character (), which is referred to as CRLF. Sometimes, you may need to remove line endings from a file for various reasons. For example, you may want to remove line endings before using it as input to a command that expects a single line of input, or to make ...

Read More

User defined bridge on Docker network

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

A user-defined bridge network in Docker provides enhanced networking capabilities compared to the default bridge network. It allows containers to communicate using container names instead of IP addresses, offers better isolation, and provides more flexible network management options. Advantages of User-Defined Bridge Networks User-defined bridge networks offer several key benefits over default bridge networks: Name-based communication − Containers can access each other using names or aliases instead of IP addresses Better isolation − Only containers within the same user-defined network can communicate with each other Dynamic connectivity − Containers can be connected or disconnected from networks ...

Read More

How to Install and Configure GitLab on CentOS 8/7?

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

GitLab is an open-source platform that allows you to manage your source code repositories and collaborate with your team members. With GitLab, you can host your Git repositories, manage code reviews, automate CI/CD pipelines, and much more. In this article, we will guide you through the process of installing and configuring GitLab on CentOS 8/7. Prerequisites Before we start with the installation, there are a few prerequisites that you need to fulfill − A CentOS 8/7 server with a minimum of 4GB of RAM and 2 CPU cores. A domain name pointing to the server's IP ...

Read More

How to display the first part of the file in the Linux system?

Shilpa S
Shilpa S
Updated on 17-Mar-2026 13K+ Views

The head command in Linux is used to display the first part of a file or piped data. By default, it shows the first 10 lines of the specified file, making it useful for quickly previewing file contents without opening the entire file. Syntax The general syntax of the head command is − head [OPTION]... [FILE]... Common Options Option Description -n NUM Display the first NUM lines instead of the default 10 -c NUM Display the first NUM bytes of each file ...

Read More

What is a .pid File in Linux?

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

On Linux, a .pid file is a process identification (PID) file that stores the process ID of a running process. The PID is a unique number assigned to each process when it starts and serves as the process identifier within the operating system. These files are typically located in /var/run or /var/run/ directories and are named after the process they represent. What is a PID File? A PID file is a simple text file containing the process ID of a running process. It gets created when the process starts and is deleted when the process terminates. System administrators, ...

Read More

4 Useful Tips to Secure PhpMyAdmin Login Interface

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

PhpMyAdmin is a popular web-based tool used by developers to manage and administer MySQL databases. It provides an intuitive interface for creating, modifying, and deleting databases, tables, and records. However, like any web application, PhpMyAdmin is vulnerable to security threats if not properly configured. This article covers four essential tips to secure your PhpMyAdmin login interface and protect your database from unauthorized access. Change Default Login Credentials One of the most critical security steps is changing the default MySQL credentials. Many installations use predictable usernames like root with weak passwords, making them easy targets for attackers. To ...

Read More

How to display the last part of the file in the Linux system?

Shilpa S
Shilpa S
Updated on 17-Mar-2026 21K+ Views

To display the last part of a file, we use the tail command in the Linux system. The tail command is used to display the end of a text file or piped data in the Linux operating system. By default, it displays the last 10 lines of its input to the standard output. It is the complement of the head command. Syntax The general syntax of the tail command is as follows − tail [OPTION]... [FILE]... Options Brief description of options available in the tail command: Option Description ...

Read More

How to force a clean build of a Docker Image?

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

When you execute the Docker pull command or Docker run command, the daemon first checks for a similar image in the local machine by comparing the digests of the image. If it finds a match, then it's not required to search the registry for the image and the daemon can simply create a copy of the already existing image. However, if a copy is not found, it starts pulling it from the registry. The same is the case when you try to build images using a Dockerfile. We all know that Docker images are multi-layered files containing multiple image ...

Read More
Showing 9311–9320 of 61,297 articles
« Prev 1 930 931 932 933 934 6130 Next »
Advertisements