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
Articles by Satish Kumar
Page 17 of 94
How to Get Total Inodes of Root Partition?
Before we dive into the topic of how to get total inodes of root partition, let's start with understanding what inodes actually are. Inodes, short for Index Nodes, is a data structure used by the file system to store information about files and directories. Every file or directory on a Unix-based system has an inode associated with it, which contains metadata such as permissions, timestamps, and other attributes. In simple terms, an inode acts as a pointer to where data is stored on the hard drive. It is worth noting that unlike file names or directory names which can ...
Read MoreHow to Configure Postfix and Dovecot with Virtual Domain Users in Linux?
Configuring Postfix and Dovecot with virtual domain users is an essential process for anyone running a Linux-based email server. These two software applications work together to handle incoming and outgoing emails. Postfix is the mail transfer agent (MTA) responsible for routing and delivering email messages, while Dovecot is the mail delivery agent (MDA) that delivers incoming emails to users' mailboxes and allows clients to retrieve them. This guide provides a step-by-step approach to configure both services for virtual domain users, allowing you to host multiple email domains on a single server without creating system users for each email account. ...
Read MoreAMP - A Vi/Vim Inspired Text Editor for Linux Terminal
AMP (Another Microscopic Editor) is a Vi/Vim inspired text editor designed specifically for the Linux terminal. This open-source, lightweight editor combines the familiar command structure of Vim with modern enhancements, making it an excellent choice for developers and system administrators who prefer command-line tools for their speed and efficiency. AMP lives up to its name by being microscopic in size yet powerful in functionality. It provides a terminal-based editing environment that feels familiar to Vim users while offering some unique features that enhance productivity. Installing AMP AMP can be installed on most Linux distributions using the package ...
Read More10 Basic Interview Questions with Answers on Linux Networking
Linux is a widely used operating system, and networking is a crucial aspect of it. The ability to understand and troubleshoot Linux networking is a valuable skill for any IT professional. In this article, we will cover some basic interview questions on Linux networking, along with their answers and examples. What is the purpose of the ifconfig command, and how is it used? The ifconfig command is used to configure and manage network interfaces on Linux. It can be used to view the current network configuration, assign IP addresses, configure network interfaces, and set other network-related parameters. Here ...
Read MoreHow to Git Stash Specific Files?
Git is a popular version control system used by developers to track changes in their codebase. Git Stash is a feature that allows developers to temporarily save changes they have made to their working directory, without committing them to the repository. This feature is useful when developers need to switch to a different branch or work on another feature, but don't want to commit untested changes. When using Git Stash, all changes in the working directory are saved as a "stash" which can be retrieved later. This allows developers to work on multiple features simultaneously without having unfinished or ...
Read MoreGuide to Generate Random Numbers in Linux
In Linux, you can generate random numbers using several built-in methods and special files. Linux provides both pseudorandom and cryptographically secure random number generation through various commands and system interfaces. Understanding the differences between these methods helps you choose the right approach for your specific use case. $RANDOM in Bash The $RANDOM variable is a built-in Bash variable that generates pseudorandom numbers between 0 and 32767. This is the simplest method for basic random number generation in shell scripts. Basic Usage # Generate random number between 0-32767 echo $RANDOM # Generate random number in ...
Read MoreIntroduction to fzf command in Linux
fzf is a command-line fuzzy finder that revolutionizes how you search and navigate through files, directories, and data in Linux. Unlike traditional command-line tools that require exact matches, fzf uses intelligent fuzzy matching to help you find what you need quickly, even with partial or approximate input. What is fzf? fzf is a fast, portable command-line fuzzy finder written in Go. It acts as an interactive filter that can process any list of items − files, command history, processes, Git branches, or custom data. The tool uses sophisticated ranking algorithms to present the most relevant results first, making ...
Read MoreAmplify – NGINX Monitoring Made Easy
NGINX Amplify is a comprehensive monitoring and analytics solution designed specifically for NGINX web servers. As NGINX powers many of the world's busiest websites due to its speed, reliability, and flexibility, proper monitoring becomes crucial for maintaining optimal performance. Amplify simplifies server management by providing real-time insights, automated alerts, and detailed analytics through an intuitive dashboard. What is NGINX Amplify? NGINX Amplify is a cloud-based monitoring tool developed by NGINX Inc., the company behind the NGINX web server. It provides comprehensive visibility into NGINX server performance, configuration, and security through real-time metrics collection and analysis. The tool is ...
Read MoreHow to Grep for Multiple Strings, Patterns or Words?
Grep is one of the most powerful and widely used command-line tools in Linux/Unix systems. It stands for "Global Regular Expression Print" and is used for searching text files or output of commands for specific patterns or strings. It can search through an entire directory structure, filter results, and display only relevant data. Grep is versatile for system administration, programming, and data analysis tasks. Basic Grep Commands Grep is a command-line tool used in Unix-based operating systems to search for specific patterns or strings in files or command output. The basic syntax is − grep [options] ...
Read MoreHow to Configure Proxy Settings on Ubuntu 20.04?
Proxy servers are intermediary servers that act as a gateway between a user's device and the internet. When connected through a proxy server, all data requests are first sent to the proxy server which then forwards them to the internet. This setup provides enhanced security, privacy, and network control for organizations and individuals. There are several types of proxies including HTTP proxies, HTTPS proxies, and SOCKS proxies. Each type serves different purposes with varying degrees of security and functionality. Understanding Proxy Settings on Ubuntu 20.04 Ubuntu 20.04 provides multiple methods to configure proxy settings, allowing you to ...
Read More