Fading Coder

One Final Commit for the Last Sprint

Installing and Configuring JDK 11 on Linux Systems

Downloading JDK 11 from Oracle Download the JDK 11 installation package (tar.gz or rpm) from the Oracle website and proceed with the installation. Using tar.gz Package wget https://download.oracle.com/java/GA/jdk11/9/GPL/openjdk-11.0.2_linux-x64_bin.tar.gz tar -zxvf openjdk-11.0.2_linux-x64_bin.tar....

Understanding Linux File and Directory Permissions

File Permission Basics Interpreting Directory Permissions A permission string like -rw-r--r-- consists of 10 characters: Position 1: File type (- for regular file, d for directory, l for symbolic link). Positions 2-4: Owner permissions (rw-). Positions 5-7: Group permissions (r--). Positions 8-10: O...

Essential Linux Commands for Directory and File Operations

Essential Linux Commands for Directory and File Operations
Directory Operations Displaying and Navigating Directories pwd: Show the current working directory. clear: Clear the terminal screen. cd ~: Navigate to the current user's home directory. cd /: Navigate to the root directory. cd -: Return to the previous directory visited. cd ..: Move up one director...

Fundamentals of Shell Scripting in Linux

Understanding Shell Scripting Shell scripting is essential for server management tasks, allowing developers to automate operations and interact with the Linux kernel through a command-line interpreter. Shell scripts enable users to start, stop, or manage programs efficiently. Creating and Executing...

Essential Linux Commands for File and Directory Management

Listing Files with ls Display all files and directories in the current working directory. ls List contents of a specific directory, using ./ for current or ../ for parenet. ls path Show detailed information in a long listing format. ls -l path ls -la path In the output, the first character indicates...

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...

Monitoring System Resources: CPU, Memory, Disk, Ports, and Processes in Linux

CPU Utilization Monitoring The top command provides a dynamic, real-time view of system processes and resource usage. Press q or Ctrl+C to exit. The initial five lines present overall system statistics. Line 1: System Summary This line mirrors the output of uptime. Current time (e.g., 10:59:33). Upt...

Resolving GDB Installation Failures Due to Package Conflicts in WSL

When attempting to install the GNU Debugger (GDB) within a Windows Subsystem for Linux (WSL) environment, you may encounter dependency conflicts that prevent successful installation. This guide outlines the error scenario and provides a resolution method. Installation Attempt and Error Output The st...

Understanding the Linux Completely Fair Scheduler (CFS)

Overview of the CFS Scheduler The Completely Fair Scheduler (CFS) is the default process scheduler for non-real-time tasks in the Linux kernel, introduced in version 2.6.23. Its primary design goal is to approximate an idealized, perfectly multitasking processsor on real hardware. At its core, CFS o...

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...