
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Found 1354 Articles for Open Source

4K+ Views
Introduction As a Linux enthusiast, you may have come across situations where you needed to perform some repetitive tasks and wished if you had a counter that could keep track of the number of times you performed a certain task. Well, guess what? Bash scripting allows you to do just that! In this article, we will discuss how you can implement a counter in your Bash scripts and use it to keep track of the number of times a certain task is performed. But before we dive into the implementation details, let's first understand what a counter is and why ... Read More

16K+ Views
Introduction There are several reasons why you might want to count the number of duplicate lines in a text file on a Linux system. For example, you may want to find out if there are any errors in your data or you may want to optimize your file by removing duplicates. Whatever the reason, Linux provides several tools and commands you can use to do this. Preparation Before we dive into the commands, let's first create a text file with a few duplicate lines that we can use for testing. Open a terminal and create a new file using the ... Read More

23K+ Views
Introduction Grep is a powerful command line utility on Linux that allows users to search for patterns in text files. It is widely used for tasks such as searching log files for specific strings or patterns, searching for specific lines in a configuration file, or extracting information from a large dataset. One of the useful features of grep is the ability to exclude multiple patterns from the search. This can be useful when you want to filter out irrelevant or unwanted results from your search. In this article, we will discuss how to exclude multiple patterns with grep on Linux. ... Read More

2K+ Views
Introduction The Paste command in Linux is a useful tool for merging multiple files or lines of text into a single file or output. It is commonly used in conjunction with the cut command, which allows users to cut specific lines or sections of text and paste them elsewhere. In this article, we'll explore the various options and usage scenarios for the paste command in Linux, as well as demonstrate how to use it with examples and output. What is the Paste Command? The Paste command is a utility on Unix and Linux operating systems that allows users to merge ... Read More

11K+ Views
Introduction Ulimit is a Unix/Linux utility that is used to set resource limits for processes running on the system. These limits can help prevent a single process from consuming too many resources, such as CPU or memory, and potentially impacting the overall performance of the system. To see the ulimit on your Linux machine, use the below command. $ ulimit –a Output real-time non-blocking time (microseconds, -R) unlimited core file size (blocks, -c) 0 data seg size ... Read More

10K+ Views
Introduction Docker Swarm is a popular container orchestration platform that allows users to deploy and manage containers at scale. One of the key features of Docker Swarm is its support for volume sharing, which allows containers to access and share data stored in persistent volumes. In this article, we will explain what volumes are, how they are used in Docker Swarm and show examples of how volume sharing can be implemented in different scenarios. Prerequisite Basic knowledge of Docker and containerization Familiarity with Docker Swarm Understanding of volumes in Docker Experience with the command line What is Docker ... Read More

311 Views
Introduction to Docker and IBM Cloud Functions Docker is a popular containerization platform that allows you to package applications and their dependencies into lightweight, portable containers. These containers can then be easily deployed and run on any machine with Docker installed, making it easy to manage and scale applications. IBM Cloud Functions is a serverless computing platform that allows you to run code in response to triggers such as HTTP requests, events, or data updates. IBM Cloud Functions can run a variety of languages, including JavaScript, Python, and Go, and it integrates seamlessly with Docker. Using Docker with IBM Cloud ... Read More

32K+ Views
Introduction Docker is a popular tool for building, deploying, and running applications in containers. One of the key benefits of using Docker is the ability to easily move containers between different hosts, whether they are local VMs, cloud servers, or on-premises datacentres. There are several methods available for moving Docker containers between different hosts, each with its own benefits and drawbacks. In this article, we will provide an overview of the various methods that are available and discuss the pros and cons of each. Methods for Moving Docker Containers Between Different Hosts Using docker save and docker load The docker ... Read More

1K+ Views
Introduction AWS Lambda is a serverless computing platform that allows you to run your code without worrying about infrastructure. Docker is a tool used to package and deploy applications in a standardized and isolated manner. By deploying a Python Docker image to AWS Lambda, you can take advantage of both of these technologies to run your Python code at scale. Prerequisites AWS account with access to AWS Lambda Docker installation and basic knowledge of Docker commands Python application or code to be packaged in the Docker image Step 1: Building the Python Docker Image It would be best ... Read More

9K+ Views
Introduction There are times when you might want to bind a Docker container to a specific external interface on your host machine. For example, you might want to bind a web server running in a Docker container to a specific network interface so that it is accessible from a specific IP address or hostname. Several options are available for binding a Docker container to a specific external interface. In this article, we will explore three of these options: the --network flag, the --publish flag, and the --add-host flag. Prerequisites for Binding a Docker Container to a Specific External Interface Before ... Read More