Fading Coder

One Final Commit for the Last Sprint

Essential Linux Shell Commands for System Administration and I/O Control

Shell Environment Configuration To identify the currently active command interpreter, query the SHELL environment varible: echo "$SHELL" A comprehensive list of interpreters installed on the system can be retrieved via: cat /etc/shells # Alternatively: chsh --list Modifying the default log...

Automated Installation and Configuration of Cacti 1.2.16 on CentOS 7

Deploying Cacti requires specific system prerequisites to ensure stability and performance. The target environment must run CentOS 7 or higher with stable network connectivity. PHP version 7.x or later is required, along with a database backend such as MariaDB or MySQL version 5.7 or newer. Deployme...

Core Linux Terminal Utilities and Usage Patterns

Directory Navigation and File System Enspection ls: Enumerates contents within a target folder. pwd: Outputs the absolute path of the current shell environment. cd <path>: Transitions the shell to a specified directory. cd ..: Moves up one level in the hierarchy. cd -: Reverts to the previousl...

Strategies for Isolating Errors in Large-Scale Linux Log Files

Real-time monitoring and targeted extraction are essential when troubleshooting verbose application logs on Linux systems. Standard utilities like tail, sed, and grep enable deveolpers to isolate critical stack traces without overwhelming terminal output. Real-Time Monitoring and Static Review To ob...

Core Concepts in Bash Scripting

A shell script is a concise program designed to automate tasks on a computer. These scripts are plain text files, editable with any text editor, and executed by an interpreter without prior compilation. Your Initial Script Create a file named greeting.sh with the following content: #!/usr/bin/env ba...

Efficient Linux Commands for Security Reconnaissance and Parallel Processing

Extracting Endpoints from JavaScript Files cat script.js | grep -Eo '"/[a-zA-Z0-9_/?=&]*"' | sed 's/^"//;s/"$//' | sort -u Retrieving CIDR and Organization Information for a Host List for target in $(cat targets.txt); do for ip_addr in $(dig a $target +short); do whois $ip_ad...

Essential Linux Commands for File and System Management

1. Basic Navigation 1.1 cd: Change Directory # Change to an absolute path cd /study/files # Change to a relative path cd test/ # Special directory shortcuts cd . # Current directory cd .. # Parent directory cd / # Root directory cd ~ # Home directory 1.2 ls: List Directory Contents # Basic listing l...