Understanding Shell Session Types: Interactive vs. Login Modes

The Shell acts as the interface between the Linux kernel and the user, serving as the primary mechanism for system management and communication. Depending on the initialization method, a Shell session operates in one of four distinct modes, defined by two criteria: authentication status (Login or Non-login) and interactivity (Interactive or Non ...

Posted on Mon, 01 Jun 2026 17:49:41 +0000 by spasm37

Essential Linux System Administration Commands

Disk Partition Analysis To identify which partition a specific directory resides on, utilize the df command with the -h flag for human-readable output. For example, to determine the partition containing the /var directory: [root@server ~]# df -h /var Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg_system-lv_root 50G ...

Posted on Mon, 01 Jun 2026 17:47:32 +0000 by duelist

Installing and Configuring Zabbix Agent 2 on Windows Server 2016

Downloading Zabbix Agent 2 Package Obtain the Zabbix agent2 archive from the official Zabbix website. The package contains two essential files: zabbix_agent2.conf zabbix_agent2.exe Deploying on Windows Server A single Windows host can accommodate multiple Zabbix agent instances running simultaneously. The following procedures outline a sing ...

Posted on Tue, 19 May 2026 07:23:18 +0000 by Romeo20

Configuring Persistent Disk Mounting on Ubuntu

1. Identify the Target DiskUse the lsblk or fdisk utility to list available block devices and identify the correct drive identifier.lsblk # or sudo fdisk -l 2. Create a FilesystemIf the disk is unformatted, create a new filesystem. The following example formats the partition /dev/sdc1 using the ext4 filesystem.sudo mkfs.ext4 /dev/sdc1 3. Create ...

Posted on Tue, 19 May 2026 03:22:02 +0000 by sarabjit

Linux CPU Performance Monitoring

Linux CPU Performance Monitoring 1.0 Performance Monitoring Overview Performance optimization involves identifying and eliminating system bottlenecks. Many administrators believe that performance optimization can be achieved by following "cookbook" solutions, often through kernel configuration adjustments. However, these generic solutions don ...

Posted on Mon, 18 May 2026 04:33:30 +0000 by evil turnip

Understanding Systemd: The Modern Linux System and Service Manager

The Evolution of Init: The Comprehensive Systemd The Evolution of Init and Full-Featured Systemd 1.1 Three Major Versions of Init in Linux Systems The first user-space process started by the kernel is init. Linux systems have primarily used three versions of init: System V init (SysV traditional sequential startup, now outdated) - configura ...

Posted on Mon, 18 May 2026 01:56:34 +0000 by saeed99

5 Methods to Clear File Contents in Linux

Using Standard Redirection The most straightforward way to empty a file is by using the shell redirection operator > without a preceding command. This truncates the file to zero length immediately. > server.log Using the Colon or True Command The : (colon) is a shell built-in command that does nothing and returns a success status ...

Posted on Sun, 17 May 2026 19:53:20 +0000 by TheMoose

Achieving High Availability for Ceph Cluster Management Nodes

Management High Availability OverviewTo ensure robust administration capabilities, a Ceph cluster requires multiple management nodes. Relying on a single management node creates a single point of failure; if that node goes down, cluster administration becomes impossible. Administrative access is generally divided into two categories: web dashbo ...

Posted on Sat, 16 May 2026 16:47:11 +0000 by Wildthrust

Deploying Apache Hive 2.3.6 on Hadoop 2.10.0

Binary Extraction and Setup Acquire the Apache Hive 2.3.6 binary archive from the official distribution repository. Extract the contents to a standard application directory and establish a symbolic link for simplified version management. tar -xzf apache-hive-2.3.6-bin.tar.gz -C /usr/local/ cd /usr/local sudo ln -s apache-hive-2.3.6-bin hive E ...

Posted on Fri, 15 May 2026 00:46:07 +0000 by Hardwarez

Essential Linux File Management Commands

Creating Files with touch Syntax touch [options] filename Key Options Option Description -m Update modification timestamp -d Set specific datetime Examples # Create file in current directory $ touch example.txt # Create file with absolute path $ touch /tmp/sample.txt # Create multiple files $ touch file1.txt file2.txt file3.txt $ ...

Posted on Thu, 14 May 2026 23:14:51 +0000 by richinsc