Fundamental Concepts What are Raw Devices, Character Devices, and Block Devices? A raw device (or raw partition) is a special character device that has not been formatted and is not accessed through the file system by the Unix/Linux kernel. Applications interact directly with these devices for read/...
Environment PreparationJenkins requires a Java Development Kit (JDK) and a build tool like Maven to function correctly. The following steps outline the installation of these dependencies on a Linux system.Installing OpenJDK 11Modern versions of Jenkins require Java 11 or later. It is recommended to...
Containers represent a OS-level virtualization method enabling isolated application environments. Unlike hardware virtualization, containers share the host kernel while maintaining process isolation through kernel features. Key differentiators from hypervisor-based virtualization: Initialization tim...
# Check system information $ uname -r # Display kernel version $ cat /etc/os-release # Show distribution details # Add MySQL YUM repository $ wget https://dev.mysql.com/get/mysql80-community-release-el7-3.noarch.rpm $ sudo yum localinstall -y mysql80-community-release-el7-3.noarch.rpm # Install MySQ...
modetest The modetest utility, part of the libdrm package, enables querying display device capabilities, performing basic display tests, and configuring display modes. Source code can be obtained from: https://dri.freedesktop.org/libdrm/libdrm-2.4.100.tar.bz2 To comppile: ./configure make -j4 Upon s...
The update-alternatives utility is a standard tool in Debian-based Linux distributions (like Ubuntu) that manages multiple versions of programs providing the same functionality. It uses symbolic links and priority values to determine which version should be used by default when a command is invoked....
Script Execution Methods Shell scripts are text files containing Linux commands executed by an interpreter. Using sh sh script.sh Direct Execution To execute a script directly: Begin the script with #!/bin/bash Grant execution permissions: chmod u+x script.sh ./script.sh This method internally uses...
Core File Operations in Linux File Naming Conventions Use descriptive names for files and directories Separate words with underscores (e.g., my_website.html) Ensure unique names within the same directory (Linux is case-sensitive) Example: touch 'descriptive_name.txt' touch project_backup.tar.gz Dire...
For LoopsThe for loop iterates over a list of values, executing a block of commands for each item.Syntax:for variable in item1 item2 ... itemN do command_sequence doneExample 1: Iterating through a Numeric RangeTo display numbers from 1 to 10:#!/bin/bash for num in {1..10} do echo "Current number: $...
Error ContextWhen attempting to install Anaconda3 on a minimal Linux server (such as CentOS or RHEL), the installation script may terminate unexpectedly. The process fails during the decompression phase, returning a series of errors indicating that the system cannot locate the required utility to ha...