Essential Linux Commands for System Administration

Package Management with YUMOn RPM-based distributions like CentOS or RHEL, the yum package manager is the standard tool for software management.Installing Software:yum install package_name # Example: yum install htop Removing Software:yum remove package_name # Example: yum remove htop Searching for Packages: Supports fuzzy matching to find rele ...

Posted on Wed, 17 Jun 2026 16:36:47 +0000 by stockdalep

Essential Linux Command Reference Guide

Operating System Overview An operating system serves as the bridge between hardware and software, managing device resources while providing interfaces for users and applications. Classification Ctaegory Examples Desktop OS Windows, Linux, macOS Server OS Linux, Windows Server Embedded OS Linux Mobile OS iOS, Android Directory St ...

Posted on Mon, 15 Jun 2026 18:03:00 +0000 by katierosy

A Guide to the Linux getty Command for Managing Terminal Sessions

getty is a system program on Linux and Unix systems that handles the initialization and management of physical or virtual terminal (TTY) connections. Its primary function is to listen for a connection on a specified TTY, prompt for a username, and then execute the login program to authenticate the user. This command is typically included in the ...

Posted on Sun, 14 Jun 2026 18:13:04 +0000 by leeroy1

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