Python Installation and Live Streaming Script Sharing

Python Installation and Live Streaming Script Sharing

Many scripts used for live streaming sources are based on Python, which can effectively enhance the acquisition of live streaming sources and ensure a continuous supply. Therefore, if you want to work with live streaming sources, you need to learn some knowledge to enrich yourself. Today, I will share a script at the end of … Read more

Linux Shell: From Beginner to Retirement

Linux Shell: From Beginner to Retirement

Learning Linux Shell commands is a gradual process. Beginners can start with basic commands and gradually master scripting and system management. During the learning process, it is recommended to practice hands-on and refer to online documentation and community resources. At the same time, as technology continues to evolve, Linux is also constantly updating. Maintaining a … Read more

Examples of Control Statements in Linux Shell

Examples of Control Statements in Linux Shell

(Click the public account above to quickly follow) Author: Cheng Mo, www.cnblogs.com/chengmo/archive/2010/10/14/1851434.html If you have good articles to submit, please click → here for details The Linux shell has its own set of control statements, including conditional statements (if), loop statements (for, while), and selection statements (case). Below, I will introduce the usage of each … Read more

Makefile: A Guide to Automating Bioinformatics Workflows

Makefile: A Guide to Automating Bioinformatics Workflows

Introduction Reference Tutorials: https://www.gnu.org/software/make/manual/make.html https://makefiletutorial.com/ https://www.biostarhandbook.com/books/scripting/index.html In bioinformatics upstream analysis, it is impractical to manually input our commands every time. Typically, we write our commands into a script file and execute them by running the script. However, when our work changes, we need to make adjustments, including adding or deleting commands, which increases our workload … Read more

Linux Command Line Secrets: The Ultimate Techniques to Boost Efficiency by 300%

Linux Command Line Secrets: The Ultimate Techniques to Boost Efficiency by 300%

Mastering Linux Redirection Techniques: The Secret to Doubling Command Line Efficiency Linux Command Line In my 15 years of development career, one tool has always been by my side: the Linux terminal. Among the terminal operations, the technique that has benefited me the most is redirection. This seemingly simple concept actually contains powerful capabilities; mastering … Read more

Common Syntax of CMake (List)

Common Syntax of CMake (List)

Previous Highlights:CMake Hello, WorldCMake VariablesCMake Official Tutorial (Basic Project Setup)CMake Official Tutorial (Library Creation)CMake Official Tutorial (Usage Requirements)CMake Official Tutorial (Installation and Testing)CMake Common Syntax (if Statement)CMake Common Syntax (Cache Variables)CMake Common Syntax (Environment Variables)CMake Common Syntax (Mathematical Calculations)CMake Common Syntax (Strings) In CMake, a list is a collection of strings separated by semicolons, and … Read more

A 10-Year Operations Veteran’s Linux Command Arsenal

A 10-Year Operations Veteran's Linux Command Arsenal

Click the blue “Most Programmer” to follow me! Add a “star“, every day at 18:03 to learn technology together Redirection Standard input stdin: code is 0, use < or <<Standard output stdout: code is 1, use > or >>Standard error output stderr: code is 2, use 2> or 2>>Special syntax: write both stdout and stderr … Read more

Comprehensive Guide to Linux Command Delimiters: A Veteran’s Insights on Command Line Mastery

Comprehensive Guide to Linux Command Delimiters: A Veteran's Insights on Command Line Mastery

As a Linux operations engineer, mastering command delimiters is a key skill to enhance work efficiency. This article will detail commonly used command delimiters in the CentOS7 system and their usage techniques, helping you operate the command line with ease. 01 Basic Delimiters Semicolon (;) and Logical AND (&&) 1. Semicolon (;) – Execute sequentially … Read more

Fixing Special Characters in Linux Scripts

Fixing Special Characters in Linux Scripts

The scripts required for this article can be directly copied in the format of this article: train_script.sh #!/bin/bash train=( " ____ " " _|____|____ " " | _________ | " " | _ _ | " " |_| |_| |_| " ) cols=$(tput cols) train_width=0 for line in "${train[@]}"; do (( ${#line} > train_width )) … Read more

Essential Advanced Linux Commands for Operations Teams

Essential Advanced Linux Commands for Operations Teams

Reply “001” below in the public account to obtain the 154-page Linux study notes compiled by Ke Gan. Introduction I have been struggling in the operations and maintenance field for several years. I still remember when I started, I only knew how to use some simple commands, and when writing scripts, I made them as … Read more