Configuring Environment Variables in Linux

Setting Environment Variables in Linux Linux offers two approaches for configuring environment variables: temporary and permanent. Temporary Configuration Variables set this way disappear when the terminal closes. Use the export command directly: export APP_VAR="Hello World" export PATH=$PATH:/opt/myapp/bin Alternatively, assign firs ...

Posted on Thu, 11 Jun 2026 18:27:02 +0000 by blacksmoke26

Implementing File Sharing with Samba on Linux

Architecture and Core ComponentsSamba facilitates file and printer sharing between Linux and Windows systems, operating primarily over the NetBIOS protocol. The functionality relies on two critical daemons: smbd and nmbd.smbd: The core service responsible for file transfer, authentication, and resource locking. It establishes the session betwee ...

Posted on Wed, 10 Jun 2026 16:52:50 +0000 by gooney0

Three Transfer Modes of Rsync on Linux

Local Transfer Mode Local rsync transfers follow the syntax: rsync [OPTION…] SOURCE… [DESTINATION] [root@node1 ~]# touch demo.txt [root@node1 ~]# ls -l total 0 -rw-r--r-- 1 root root 0 Apr 12 17:52 demo.txt [root@node1 ~]# ls -l /tmp total 0 # Copy demo.txt to /tmp directory [root@node1 ~]# rsync -avz demo.txt /tmp/ sending incremental file li ...

Posted on Tue, 09 Jun 2026 17:59:43 +0000 by Sean_J

Locating and Managing Files in Linux Using the Find Utility

Core Syntax and Parameters The find utility traverses directory trees to locate files and directories based on specified conditions. It allows complex filtering and can execute actions on the matched results. find [starting_path] [expression] [action] Expressions consist of options and tests, while actions determine what happens to the matches ...

Posted on Sun, 07 Jun 2026 17:53:10 +0000 by thoand

Setting Up Python Environment on CentOS 7

Preserving Python 2 First, locate the Python installation and back up the Python 2.7 symlink. # Navigate to home directory and find Python locations cd ~ whereis python # Check existing Python symlinks in /usr/bin cd /usr/bin ls -l python* # Back up the python symlink mv python python.backup Downloading and Installing Python 3 Download Pytho ...

Posted on Wed, 03 Jun 2026 18:06:01 +0000 by usvpn

Implementing SaltStack Multi-Master High Availability

To configure a highly available SaltStack environment, you must set up a multi-master architecture where minions can communicate with multiple master servers. Additionally, configuration files, state files, and keys must be synchronized between the primary and secondary masters to ensure consistency during a failover. 1. Configuring Salt Minion ...

Posted on Wed, 03 Jun 2026 17:52:21 +0000 by dubt2nv

Obfuscating Linux Processes through Filesystem Mounting and Library Hijacking

Process Concealment via Procfs Mounting In Linux environments, process metadata is exposed via the /proc pseudo-filesystem. Standard monitoring utilities like ps, top, and htop retrieve system information by reading the subdirectories within /proc that correspond to specific Process IDs (PIDs). By utilizing the mount command with the --bind fla ...

Posted on Wed, 03 Jun 2026 16:49:12 +0000 by cameronjdavis

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