Basic Linux for Bioinformatics (Part 2)

tar PART 01 Function Description: Add or restore files from backup files Syntax: tar -f[cxzjv] <file> Parameters: -f is a required parameter -c Create a backup file -x Extract files from the backup file -z Use gzip/gunzip to compress/decompress files -j Use bzip2/bunzip2 to compress/decompress files -v Show the command execution process Example: tar -cf … Read more

Understanding the Linux Virtual File System (VFS)

Click on the above“Linux Tech Enthusiast” to select “Set as Favorite” High-quality articles delivered promptly ☞【Essentials】ChatGPT 4.0 is unlocked, no limit on questions!!! ☞【Essentials】Tsinghua University senior's self-study Linux notes, top-level quality! ☞【Essentials】Comprehensive guide to commonly used Linux commands, all in one article ☞【Essentials】Collection! Linux basic to advanced learning roadmap Original link:https://blog.csdn.net/KUNPLAYBOY/article/details/123191919 Introduction The virtual file … Read more

Linux Emergency Response – Common Service Logs

System Logs btmp /var/log/btmp records all login attempts that failed, displaying the last ten entries. root@mon0dy-ubuntu:~# lastb –time-format iso -10 root ssh:notty 58.56.52.226 2023-03-11T14:30:23+0800 – 2023-03-11T14:30:23+0800 (00:00) root ssh:notty 58.56.52.226 2023-03-11T14:30:20+0800 – 2023-03-11T14:30:20+0800 (00:00) root ssh:notty 58.56.52.226 2023-03-11T14:30:16+0800 – 2023-03-11T14:30:16+0800 (00:00) root ssh:notty 58.56.52.226 2023-03-11T14:30:05+0800 – 2023-03-11T14:30:05+0800 (00:00) root ssh:notty 58.56.52.226 2023-03-11T14:30:02+0800 – 2023-03-11T14:30:02+0800 (00:00) … Read more

Linux Threads and Hyper-Threading

1. Definition A thread is an execution flow of a process and is the basic unit of CPU scheduling and dispatching. It is a smaller unit that can run independently compared to a process. A process consists of several threads, and threads belonging to the same process share all the resources owned by the process. … Read more

A Detailed Explanation of Linux Core Dumps: From Basics to Practical Applications (Part 2)

Hello everyone, welcome to Lixin Embedded. In Linux development, core dumps are powerful tools for debugging program crashes. However, on devices with limited storage space, core dump files that can be several megabytes in size can take up a lot of space. In the previous article, we discussed the principles and generation mechanisms of core … Read more

Linux Lesson 5: Web Security Vulnerabilities

1.1 Web Security Vulnerabilities Before discussing web vulnerabilities, let me briefly talk about web security knowledge. Let’s briefly understand the knowledge related to computer networks and protocols. Composition of Computer Communication Networks A computer network consists of a communication subnet and a resource subnet. The communication subnet is responsible for the error-free and orderly transmission … Read more

Installing and Configuring Redis 8.0.0 on Linux

Operating System:openEuler 24.03 LTS SP1, CentOS-8, AlmaLinux, Rocky Linux, etc.Preparation Steps1. Disable SELinux sestatus # Check status, 'disabled' indicates it has been disabled sed -i 's/^SELINUX=.*/SELINUX=disabled/' /etc/selinux/config # Disable SELinux setenforce 0 # Temporarily disable /usr/sbin/sestatus -v # Check SELinux status, 'disabled' indicates it is off 2. Firewall Configuration 2.1. Disable firewall: systemctl stop firewalld.service … Read more

Top 5 Tools for Monitoring and Debugging Disk I/O Performance in Linux

Disk I/O performance is a core aspect of optimizing Linux system performance, especially in high-load scenarios such as database servers, virtualization environments, or big data processing platforms. Disk I/O bottlenecks can lead to slow system responses or even service interruptions. Monitoring and debugging disk I/O performance not only helps administrators quickly locate issues but also … Read more

Linux expr Command

Linux expr Command <span>expr</span> is a powerful command-line tool in Linux systems used for evaluating expressions, performing arithmetic operations, string manipulation, and logical comparisons. It is widely used in shell scripts for dynamic processing and value calculations. Although modern shells (like Bash) provide built-in arithmetic and string manipulation capabilities, <span>expr</span> still holds significant value due … Read more

Basic Optimization of Linux

1. SELinux and Firewall Optimization 1. SELinux SELinux, or Security-Enhanced Linux, is a Linux kernel module and a security subsystem for Linux, primarily developed by the National Security Agency (NSA). Its main purpose is to minimize the resources accessible to service processes in the system (principle of least privilege). Due to this principle, many operations … Read more