Fading Coder

One Final Commit for the Last Sprint

Linux chkconfig Command: Managing System Services Across Runlevels

Overview The chkconfig command provides a way to query and modify system services across different runlevels. Developed by Red Hat under GPL, this tool manages the services that execute during various system boot stages, including persistent daemons. It is important to note that chkconfig does not i...

Mastering the Linux dd Utility for Block-Level Data Operations

The dd utility is a foundational command-line tool in Unix-like operating systems, designed for low-level data duplication and transformation. Unlike high-level copy utilities, dd operates directly on raw blocks, making it indispensable for disk imaging, partition cloning, and generating determinist...

Linux System Administration and Monitoring Commands

System identification begins with viewing machine identity and runtime statistics. The hostname utility displays or temporarily modifies the system hostname, though persistent changes require editing network configuration files rather than runtime invocation. $ hostname # Display system hostname $ h...

Firewall Rule Management Across CentOS and Ubuntu Environments

Network traffic filtering on RHEL-based distributions is handled by firewalld, which organizes rules into zones and requires explicit synchronization between permanent and runtime configurations. Verify the daemon's current state: systemctl is-active firewalld Initialize the service and configure it...

Enhancing Linux System Security Through Practical Optimization Techniques

Command History Auditing Enabling command history with timestamps and increasing the history size provides visibility into system operations. This helps track user activiites and troubleshoot issues: # /etc/profile.d/history_config.sh export HISTSIZE=10000 export HISTTIMEFORMAT="%Y-%m-%d %H:%M:...

Comprehensive Reference for Linux Command Origins, File Extensions, and Path Conventions

Core Filesystem & Navigation Utilities ls: list directory contents pwd: print working directory (outputs absolute path of current session context) cd: change directory (alter shell execution context) rmdir: remove empty directories mkdir: create new directory structures rm: remove files or direc...

Automated Deployment of a Standalone Java Web Application on Linux

Prepare Required Files Use an SSH client like MobaXterm to connect to the remote Linux server and transfer the necessary packages: JDK, Apache Tomcat, MySQL, and optionally Nginx. Once uploaded, extract all archives in advance to streamline setup. # Extract JDK tar -zxvf jdk-8u151-linux-x64.tar.gz #...

Managing Files and Disk I/O Benchmarks with Linux dd Command

The dd utility serves as a powerful tool for low-level data copying and conversion on Linux systems. It is frequently employed for generating files of specific sizes and performing rudimentary disk I/O performance analysis. Creating Allocated vs. Sparse Files When generating a test file, one can cho...

Deploying BIND DNS for Bidirectional Lookup Resolution

Enviromnent Preparation Before configuring the name service, ensure the underlying operating system is ready. Disable firewalls and SELinux temporarily to avoid interference during setup. # Stop firewall service dsystemctl stop firewalld # Set SELinux to permissive mode setenforce 0 # Install BIND p...

Essential Linux Command Reference

Essential Linux Command Reference
Check network interface address configuration ip address show # shorthand ip a Test network connectivity ping www.example.com Modify network interface address through a graphical TUI nmtui Shutdown commands # Shut down immediately shutdown now # Schedule shutdown in 5 hours shutdown -h 5 # Power off...