Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
-
Economics & Finance
Linux Articles
Page 32 of 134
Diff a Directory for Only Files of a Specific Type on Linux
In this article, we are going to learn how to diff a directory for only files of a specific type in Linux. This is particularly useful when you need to compare configuration files, source code, or documentation across directories while ignoring irrelevant file types. The diff Command Overview The diff command is a powerful built-in Linux tool that compares files and directories line by line. When comparing directories, it identifies differences in file contents, missing files, and additional files. However, by default, it processes all files, which can be overwhelming in directories with mixed file types. Basic ...
Read MoreHow to check if a File Type Exists in a Directory?
There are times when we need to determine whether a particular file type is present in a directory or not. For instance, we might want to check if a directory contains Python files or C++ source files. Several Linux commands like ls, find, and file can help us accomplish this task efficiently. In this tutorial, we will review multiple approaches to check whether particular file types exist in a directory using wildcard patterns and command-line utilities. Using the ls Command The ls command is one of the most frequently used commands in Linux for listing files and ...
Read MoreConfigure _No Password SSH Keys Authentication_ with PuTTY on Linux Servers
SSH (Secure Shell) is a popular protocol for securely connecting to remote servers over a network. When you use SSH to connect to a server, you typically need to provide a username and password to authenticate your identity. However, this process can be tedious if you need to connect to multiple servers frequently. Fortunately, there is a solution: No Password SSH Keys Authentication. In this article, we'll walk you through the process of setting up No Password SSH Keys Authentication on a Linux server using PuTTY, a popular SSH client for Windows. With this setup, you can connect to ...
Read MoreConfigure Collectd as a Central Monitoring Server for Clients
Collectd is a lightweight system statistics collection daemon that gathers performance metrics such as CPU usage, memory utilization, disk I/O, and network traffic. It operates as a central monitoring solution, allowing administrators to collect data from multiple client systems and analyze it from a single server location. This article demonstrates how to configure Collectd as a central monitoring server to collect metrics from distributed client machines and visualize the data using modern dashboards. Prerequisites Before configuring Collectd, ensure you have the following − A server running Linux (Ubuntu or Debian preferred) One or more client ...
Read MoreCreate More Advance GUI Applications Using PyGobject Tool in Linux
PyGObject is a powerful Python binding that enables developers to create advanced GUI applications in Linux using the GObject introspection library. It provides access to GTK, GStreamer, and other GObject-based libraries, allowing developers to build sophisticated desktop applications with native Linux integration. What is PyGObject? GObject is a fundamental object system used by GTK, GStreamer, and other libraries to create object-oriented software in C. PyGObject allows developers to create GUI applications using Python while leveraging the power of GObject-based libraries, providing a Pythonic interface to native Linux desktop technologies. Installation Requirements Before developing GUI applications using ...
Read MoreDeploying MySQL on Kubernetes {Guide}
MySQL is one of the most popular relational database management systems in use today, and running it on Kubernetes can provide a highly scalable and flexible solution for managing your database workload. In this guide, we will walk you through the process of deploying MySQL on Kubernetes, from setting up a Kubernetes cluster to creating a MySQL deployment, adding persistent storage, and exposing the deployment with a service. We will be using YAML files to define our Kubernetes resources, and we will also provide detailed explanations and examples of each step along the way. Whether you're new to Kubernetes ...
Read MoreDigitally Sign Documents in Linux Using ONLYOFFICE Desktop Editors
Digital signatures are an essential aspect of document security in modern computing. They ensure that the document hasn't been altered and that it comes from a trusted source. Digital signatures are widely used in business, legal, and government settings, but they're also useful for personal documents. ONLYOFFICE Desktop Editors provides Linux users with a comprehensive solution for digitally signing documents using cryptographic methods. What is a Digital Signature? A digital signature is a mathematical technique used to verify the authenticity and integrity of a digital document or message. It provides a way for the recipient of a document ...
Read MoreCreating Software RAID0 (Stripe) on ‘Two Devices’ Using ‘mdadm’ Tool in Linux
RAID 0 (Stripe) stands for Redundant Array of Inexpensive Disks. It is a data storage technique that combines multiple disks into a single logical unit to provide improved performance and storage capacity. RAID 0 uses striping to write data across multiple disks simultaneously, offering faster data access but no redundancy. In this article, we will learn how to create RAID 0 on two devices using the mdadm tool in Linux. What is RAID 0? RAID 0, also known as striping, divides data into blocks and writes them across all disks in the array. This allows for faster ...
Read MoreCreating Virtual Hosts, Generate SSL Certificates _ Keys and Enable CGI Gateway in Gentoo Linux
Setting up a web server to host multiple websites is a common task for system administrators and developers. In this guide, we will cover how to create virtual hosts, generate SSL certificates and keys, and enable CGI gateway in Gentoo Linux. Virtual hosts allow you to host multiple websites on a single server, each with their own unique domain name and content. This is useful when you want to host multiple websites with different purposes or for different clients on a single server. Enabling SSL on your website is important for security and to establish trust with your ...
Read MoreCryptmount – A Utility to Create Encrypted Filesystems in Linux
Cryptmount is a Linux utility that allows you to create encrypted filesystems. With cryptmount, you can create an encrypted container that can be mounted as a virtual drive, and any data stored in that container will be automatically encrypted and decrypted as needed. This provides a secure way to protect sensitive data, even if your computer is compromised. What is Cryptmount? Cryptmount works by creating a virtual block device that can be mounted as a regular filesystem. The data stored on this virtual device is encrypted using strong ciphers, and a key is required to decrypt the data. ...
Read More