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 List All Group in Linux ?
Groups in Linux are collections of users that provide a convenient way to manage permissions and resource access. A Linux system can have many users organized into multiple groups, where administrators assign specific privileges to control file and directory access. Users can belong to two types of groups − Primary / Login Group Secondary / Supplementary Group User-created files are assigned to this group. The primary group usually has the same name as the user. Grants additional privileges to a set of users for specific tasks or resources. Users ...
Read MoreHow to Host Multiple Linux Terminals for Viewing and Collaboration with Wemux?
Wemux is a powerful terminal multiplexer that enables multiple users to share and collaborate within the same Linux terminal session in real-time. Built on top of tmux, it provides enhanced multi-user capabilities for team collaboration, code review, pair programming, and system administration tasks. Features and Benefits Wemux offers several key advantages over traditional collaboration methods: Multi-user terminal sharing − Multiple users can view and interact with the same terminal session simultaneously Real-time collaboration − All users see terminal output instantly as commands are executed User permission control − Sessions can be configured with read-only access or ...
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 MoreHow to prevent a background process from being stopped after closing SSH client in Linux?
A background process in Linux is a process that runs independently of the shell session. When you start a background process and then close your SSH client, the process typically gets terminated due to the SIGHUP signal (hangup signal) sent to all child processes. This article explains several methods to prevent background processes from being stopped after SSH disconnection. Starting Background Processes In Linux, you can start a process in the background by appending the & symbol after the command: sleep 10000 & This command runs the sleep process in the background for 10, ...
Read MoreHow to add a Column of Numbers in Bash?
Bash provides several methods to add up numeric columns in data files. This article explores different approaches including awk, loops, and text processing commands, comparing their performance on column summation tasks. Using the awk Tool The awk command is the most straightforward approach for column arithmetic. It reads each line, accumulates values, and displays the final sum. $ awk '{Total=Total+$1} END{print "Total is: " Total}' numbers.csv Total is: 49471228 To measure performance, use the time command: $ time awk '{Total=Total+$1} END{print "Total is: " Total}' numbers.csv ...
Read MoreCheck if Directory is Mounted in Bash on Linux
Checking if a directory is mounted is a common system administration task in Linux. There are several reliable methods to determine whether a specific directory serves as a mount point, each with different advantages and use cases. Using the mount Command The mount command is the most traditional method to check mounted filesystems. To check if a specific directory is mounted, combine it with grep − mount | grep "/mnt/data" If the directory is mounted, this returns information about the mount point, filesystem type, and source device. If not mounted, no output is displayed. ...
Read More8 Best KDE Based Linux Distributions That You\'ll Love
KDE is one of the most popular and user-friendly desktop environments for Linux users. With its modern and sleek interface, it has won the hearts of many Linux enthusiasts. However, with so many KDE-based Linux distributions available, it can be challenging to decide which one to choose. In this article, we will explore the 8 best KDE-based Linux distributions that offer excellent performance, stability, and user experience. 1. Kubuntu Kubuntu is the official Ubuntu flavor that uses KDE Plasma as its desktop environment. Built on Ubuntu's solid foundation, it provides excellent hardware compatibility and a vast software repository. ...
Read More10 Cool Command Line Tools For Your Linux Terminal
As a Linux user, you might have heard that the command line is the true power of Linux. While graphical user interfaces can be useful, the command line offers more control and flexibility. There are many command line tools available for Linux that can make your life easier and improve your productivity. In this article, we will explore 10 cool command line tools for your Linux terminal. The Grep Command The grep command is a powerful tool for searching text files. It allows you to search for specific words or patterns in a file or multiple files. The ...
Read More10 Best Linux Server Distributions of 2023
Linux has established itself as the preferred operating system for server deployments, offering unmatched reliability, security, flexibility, and cost-effectiveness. With numerous distributions available, selecting the right one for your organization requires careful consideration of specific requirements and use cases. Enterprise-Grade Distributions Red Hat Enterprise Linux (RHEL) RHEL remains the gold standard for enterprise server deployments. Built for mission-critical applications, it provides 10-year lifecycle support, certified hardware compatibility, and comprehensive security features. RHEL excels in environments requiring regulatory compliance and enterprise-grade support with guaranteed SLAs. SUSE Linux Enterprise Server (SLES) SLES offers robust enterprise features with ...
Read MoreList the Size of Each File and Directory and Sort by Size in Linux
Listing and sorting files and directories by size is essential for system administration, disk space management, and file organization. Linux provides multiple command-line tools and GUI methods to accomplish this task efficiently. This guide covers various approaches to list files and directories sorted by their size. Command Line Methods Using the ls Command The ls command is the most common tool for listing directory contents. By default, it sorts entries alphabetically, but you can modify this behavior with specific options. Basic listing with detailed information: ls -la This displays all files (including ...
Read More