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