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
How to End Processes With kill, pkill, and killall
When working with a Unix-based operating system such as Linux or macOS, it is common to encounter situations where a process becomes unresponsive or needs to be terminated for some reason. Fortunately, there are several command-line utilities available that allow users to end processes in a variety of ways. In this article, we will explore three of the most commonly used utilities for terminating processes: kill, pkill, and killall. We will cover their basic usage, common options, and examples of how they can be used to manage processes on a Unix system. Basic Usage of kill, pkill, and killall ...
Read MoreHow to Enable and Use firewalld on CentOS 7?
Firewalld is a dynamic firewall management tool for CentOS 7 that provides a user-friendly interface to configure and manage firewall rules. Unlike traditional iptables, firewalld supports network zones and allows changes without restarting the entire firewall service. This article demonstrates how to enable and effectively use firewalld on CentOS 7. Installation and Setup Firewalld is included with CentOS 7 but may not be enabled by default. First, check if firewalld is installed and running − sudo systemctl status firewalld To enable and start the firewalld service − sudo systemctl enable firewalld sudo ...
Read MoreHow to Extract or Unzip tar.gz Files from Linux Command Line?
Tar.gz files, also known as "tarballs, " are compressed archive files commonly used in Linux and Unix-based operating systems. A tarball contains one or more files or directories compressed using the gzip algorithm, significantly reducing file size. They serve two main purposes: efficient data transfer between systems and storage of file backups in a single, manageable archive. Understanding the Linux Command Line The Linux command line interface (CLI) provides a powerful text-based method for interacting with your system. To access the terminal, press Ctrl+Alt+T or find it in your applications menu. Once open, you'll see a prompt like ...
Read MoreHow to Deploy RedHat Enterprise Virtualization Hypervisor (RHEV-H)
RedHat Enterprise Virtualization Hypervisor (RHEV-H) is a bare-metal hypervisor based on the open-source Kernel-based Virtual Machine (KVM) technology. It provides hardware-based virtualization that enables multiple operating systems to run efficiently on a single physical server, creating a scalable and cost-effective virtualization infrastructure for modern data centers. System Requirements Before deploying RHEV-H, ensure your system meets these minimum requirements: Processor − 64-bit x86 processor with virtualization extensions (Intel VT or AMD-V) Memory − At least 4 GB of RAM for the hypervisor Storage − Minimum 10 GB disk space for installation Network − Network interface controller supporting ...
Read MoreComputer System Architecture
A computer system is basically a machine that simplifies complicated tasks. It should maximize performance and reduce costs as well as power consumption. The different components in the Computer System Architecture are Input Unit, Output Unit, Storage Unit, Arithmetic Logic Unit, Control Unit etc. A diagram that shows the flow of data between these units is as follows − Computer System Architecture Control Unit Input Unit ...
Read MoreUser-level threads and Kernel-level threads
A thread is a lightweight process that can be managed independently by a scheduler. It improves the application performance using parallelism. A thread shares information like data segment, code segment files etc. with its peer threads while it contains its own registers, stack, counter etc. The two main types of threads are user-level threads and kernel-level threads. A diagram that demonstrates these is as follows − User-level vs Kernel-level Threads User-level Threads Kernel-level Threads Application Process ...
Read MoreDelete empty files and directories in Linux
Empty files and directories in Linux systems don't consume significant disk space, but removing them periodically helps maintain system cleanliness and organization. This tutorial covers various methods to delete empty files and directories using the powerful find command in Linux systems. Delete Empty Files in a Directory The find command with specific options can locate and remove all empty files in a directory structure. The basic syntax combines type filtering, empty file detection, and deletion in one command. find . -type f -empty -print -delete Let's examine this command with a practical example. Consider ...
Read MoreCommand Substitution in Bourne Shell
Command substitution is one of the most powerful features of the Bourne shell, allowing you to capture the output of one command and use it as an argument or input to another command. This mechanism enables complex command chaining and automation in Unix and Linux systems. What is Command Substitution? Command substitution allows you to execute a command and replace the command with its output. The Bourne shell provides two syntaxes for command substitution: `command` or the modern preferred syntax: $(command) The $(command) syntax is recommended because it's more readable, ...
Read MoreHow to Enable Apache Userdir Module on RHEL/CentOS?
If you are running a web server with Apache on RHEL/CentOS, you may need to enable the Userdir module to allow users to create and serve their own web content. The Userdir module enables users to access their own web directories using a URL format like http://example.com/~username. Enabling the Apache Userdir module on RHEL/CentOS is a straightforward process that involves installation, configuration, and security considerations. This article will guide you through the complete setup process. Prerequisites and Installation Step 1: Install Apache Web Server Before enabling the Userdir module, ensure Apache web server is installed on ...
Read MoreHow to File a Software Bug to Fedora?
If you are a software user or developer, you have likely encountered a software bug at some point. A software bug is an error or flaw in a computer program that causes it to produce unintended or incorrect results. These bugs can range from minor nuisances to major issues that cause programs to crash, and they can occur in any software application regardless of its complexity. Fedora is a popular open-source operating system that is used by millions of people around the world. It is known for its stability, security, and cutting-edge features, making it a favorite among developers ...
Read More