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

Mastering Matlab: A Beginner’s Guide

Mastering Matlab: A Beginner's Guide

Matlab is a scripting programming language that is widely used in various research fields due to its ease of use and comprehensive library of functions. Today, I will discuss the books and processes that can help a beginner become proficient in Matlab. Before diving into the specifics, I hope everyone understands that Matlab knowledge is … Read more

Understanding the Read Command in Linux

Click the above “Mechanical and Electronic Engineering Technology” to follow us In Linux, the read command is used to read data from standard input (usually the keyboard) and assign the input data to a variable. This command is very useful in scripts as it allows the script to pause execution and wait for user input. … Read more