
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

2K+ Views
Docker offers several options for storing data in containers. Two popular choices are named volumes and DOCs (data-only containers). In this article, we'll compare these two options and discuss when it might be more appropriate to use one over the other. What is Docker named volumes? Docker-named volumes are a way to persist data in Docker containers. They allow you to create a named volume and mount it to a container so that the data stored in the volume is preserved even if the container is stopped or removed. To create a named volume in Docker, you can use the ... Read More

7K+ Views
Introduction On modern multi-core CPUs, it is often useful to know the CPU usage of individual cores for a particular process. This can be helpful for identifying bottlenecks in the system, or for understanding the workload distribution across CPU cores. In this article, we will see how to measure separate CPU core usage for a process on Linux using various command line tools. Measure CPU Core Usage using top Command The top command is a commonly used tool for monitoring system resources, including CPU usage. By default, top displays the overall CPU usage for all cores, but it also provides ... Read More

4K+ Views
Introduction In Linux, a disk partition is a logical division of a hard disk drive (HDD) or solid-state drive (SSD) that is used to manage data in a more organized manner. Partitions allow you to separate data by function, such as separating system files from user files, or to set up multiple operating systems on a single physical disk. There are several tools available for creating and managing disk partitions in Linux, including fdisk, parted, and gparted. In this article, we will focus on using fdisk and parted as they are widely available on most Linux distributions. Creating a Partition ... Read More

8K+ Views
Introduction Bash is a Unix shell and command language that is commonly used on Linux systems. It allows users to perform a variety of tasks, including deleting files. In this article, we will look at how to delete multiple files at once in Bash on a Linux system. We will cover the basic syntax for deleting multiple files, as well as some advanced techniques for deleting specific types of files or forcing the deletion of write-protected files. Using rm Command in Linux The rm command is used to delete files in Bash. To delete a single file, you can use ... Read More

7K+ Views
Introduction In Linux, it is often necessary to create temporary files for various purposes, such as storing intermediate data during processing or storing configuration information for a script. Temporary files are usually created in the /tmp directory, which is a standard location for storing temporary files on most Linux systems. Creating a Temporary File in Linux There are several ways to create a temporary file in Linux. One of the most common methods is to use the mktemp command, which creates a unique temporary file and prints the file name to the console.SyntaxTo create a temporary file using mktemp, use the ... Read More

4K+ Views
Introduction The exec command is a built-in command in the Unix and Linux shell that allows a user to execute a command or a script in place of the current shell. This means that the exec command is used to replace the current shell process with a new process, which can be a command or a script. The exec command is useful in shell scripts when you want to execute a command or a script and then exit the current shell. Syntax of exec command −Example $ exec: exec [-cl] [-a name] [command [argument ...]] [redirection ...] Why should ... Read More

6K+ Views
Introduction Interactive prompts are a common feature in many Linux command-line tools and utilities. These prompts allow the user to provide input or make a selection in order to proceed with a task. While interactive prompts can be useful in some situations, they can also be a nuisance when running scripts or automating tasks. In these cases, it can be helpful to know how to automatically answer interactive prompts. Handling Interactive Prompts There are several ways to automatically answer interactive prompts in Linux. One method is to use the expect command, which is a scripting language specifically designed for automating ... Read More

6K+ Views
Introduction In the Linux operating system, jobs refer to processes that are running in the background or foreground. Job control refers to the ability to manipulate these processes, including suspending, resuming, and terminating them. This can be useful for managing multiple tasks or for debugging problems with a process. Job control is made possible by the shell, which is a command-line interface that allows users to interact with the operating system. The most common shell in Linux is the Bourne Again Shell (BASH), but other shells such as the Z Shell (ZSH) and the Korn Shell (KSH) are also available. ... Read More

765 Views
Introduction Here in this article, we will learn about Linux libraries. What is the actual function of these libraries and what are the different types of libraries. Then we will understand to use these Linux libraries on the Windows OS with the help of various methods mentioned below. What are the Linux libraries? The Linux terminal works and follows only the commands. It is a “Text Only Console”, that responds to terminal commands. The definitions or the code for these commands or functions are stored in libraries. Types of Linux libraries The libraries can be divided based on the nature ... Read More

7K+ Views
Introduction Here in this article, we will learn about the ignore file in docker. How to create a ignore file and how to use it with various ways to add files and folders to the ignore file. All the pre-requisite knowledge is mentioned in a stepwise manner. Do not directly jump to the implementation without knowing the requirement of the ignore files in the code industry. What are ignored files? Ignore files created in different systems like in the Git repository and the Dockerifle. These files help to exclude some files and directories from being used or copied in the ... Read More