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 on Trending Technologies
Technical articles with clear explanations and examples
Working with Hidden Files in Linux
Hidden files in Linux are files that are not displayed when the standard ls command is executed. A hidden file's name begins with a dot (period). Not only files, but also directories can be hidden in Linux. Files are hidden for various purposes — primarily to prevent accidental modification or deletion of important system configuration files. Hidden files typically contain environment settings or application data that should only be accessed by specific programs, not manually edited by users. In this article, we will explore different methods for finding, creating, and manipulating hidden files in Linux using command-line tools. ...
Read MoreDifference between GNU and Unix
Even though the majority of us are accustomed to using Windows as our primary operating system, it is important for us to at least be familiar with other operating systems such as Unix, Linux, and others. This does not imply that Windows is the only operating system that has been used globally; rather, it indicates that other systems also take a larger proportion in terms of utilisation. The end functionality, which is using the computers to make our tasks easier, is the same regardless of the operating system that we might choose. Read through this article to find out ...
Read MoreConfigure sendmail with Gmail on Ubuntu
Sendmail is a popular mail transfer agent used to send emails from one computer to another. It is often installed by default on Ubuntu, making it a convenient option for sending emails from a server. If you use Gmail, you can configure sendmail to send emails through your Gmail account. In this article, we will show you the process of configuring sendmail with Gmail on Ubuntu. Requirements Before starting, there are a few requirements needed to configure sendmail with Gmail on Ubuntu − A Gmail account An Ubuntu server Sendmail installed on your Ubuntu server ...
Read MoreWhat is file hierarchy structure and how does it solve the naming problem?
A file hierarchy structure is a tree-like organizational system that arranges files and directories in a structured manner, starting from a root directory and branching out into subdirectories. This structure is fundamental to modern operating systems like Linux, Unix, Windows, and macOS, providing a logical way to organize, locate, and manage files. The hierarchy allows files and directories to appear under the root directory, even if they are stored on different physical or virtual devices. This unified view creates a consistent interface for users and applications to access system resources. File Hierarchy Structure ...
Read MoreHow to Calculate Optimal Blocksize to Use With dd in Linux
The optimal block size to use with the dd command in Linux depends on the specific use case and the hardware you are working with. However, as a general rule of thumb, it is best to use a block size that is a multiple of the disk's physical block size, as this can lead to better performance. Determining Physical Block Size To determine the physical block size of a disk, you can use several methods. The fdisk command with the -l option will list all partitions on the disk, along with the start and end cylinders, and the ...
Read MoreAutomatic Performance Tuning of CentOS/RHEL Servers
Automatic performance tuning for CentOS/RHEL servers involves using intelligent tools and daemons that continuously monitor system resources and adjust configuration parameters dynamically. This approach eliminates manual intervention while ensuring optimal performance across CPU, memory, disk I/O, and network subsystems based on workload patterns. What is Performance Tuning? Performance tuning is the process of optimizing a system's performance by adjusting various parameters and settings. In the context of server performance tuning, it involves tweaking settings such as CPU utilization, memory usage, disk I/O, network throughput, and application-specific configurations to achieve maximum efficiency. Why Automatic Performance Tuning? Manual ...
Read MoreHow to Install a DHCP Server in CentOS, RHEL and Fedora
DHCP (Dynamic Host Configuration Protocol) is a network protocol that automatically assigns IP addresses and network configuration parameters to devices on a network. It eliminates manual IP configuration, reducing administrative overhead and preventing address conflicts. This article guides you through installing and configuring a DHCP server on CentOS, RHEL, and Fedora systems. Install DHCP Server Package First, install the DHCP server package using the package manager. For newer versions, use dnf, while older versions use yum − # For CentOS 8+/RHEL 8+/Fedora sudo dnf install dhcp-server # For CentOS 7/RHEL 7 sudo yum install dhcp ...
Read MoreLinux Package Management with Aptitude
Aptitude is a text-based front-end for APT (Advanced Package Tool) built on the Ncurses library, designed for Debian-based systems. It provides an interactive interface for package management and runs from the terminal or command line interface. This article explains Linux Package Management with Aptitude and APT commands. What is APT APT is a command-line package manager that provides commands for searching, managing, and querying information about packages. It offers the same functionality as specialized APT tools like apt-get and apt-cache, but with options more suitable for interactive use by default. To get more information about APT, use ...
Read MoreHow to setup sendmail in ubuntu?
Sendmail is a powerful and reliable mail transfer agent (MTA) that efficiently handles large volumes of email on Linux systems. It works by accepting email messages from local or remote mail clients and relaying them to destination mail servers using the Simple Mail Transfer Protocol (SMTP). This article provides a comprehensive guide on installing and configuring Sendmail on Ubuntu systems, covering everything from basic setup to advanced configuration options. Installing Sendmail on Ubuntu Begin by updating your package list and installing Sendmail using the following commands: sudo apt-get update sudo apt-get install sendmail ...
Read MoreShowing a GUI Notification From a Shell Script in Linux
GUI notifications from shell scripts in Linux allow you to display visual alerts and messages to users. Two primary tools accomplish this: notify-send for desktop notifications and zenity for interactive dialog boxes. Using the notify-send Command The notify-send command is part of the libnotify library and comes pre-installed on most Linux distributions. It displays brief desktop notifications that appear in the system notification area. Basic Syntax notify-send [options] Simple example displaying a notification − notify-send "Hello" "World" Common Options Option Description Example Values ...
Read More