Linux

Passwordless Login for Linux Machines

For security reasons, passwordless login is generally implemented using public-private key pairs. Here, I’ll mark down the configuration method. Log into the client machine and create a public-private key pair if you don’t already have one.

Sep 19, 2024

Understanding ShellCheck

This post introduces ShellCheck, covering when to use it and how it works so you can adopt it more efficiently.

Aug 7, 2024

tar: Ignoring unknown extended header keyword

Explains the 'Ignoring unknown extended header keyword' message when using tar between macOS and Linux, why it happens, and how to address it.

Jun 11, 2024

Detect CPU Architecture in Shell Scripts

Shows how to detect the machine’s CPU architecture in shell scripts so you can download the correct Code Server package.

Jun 11, 2024

Enable Autosuggestions in Your Shell

Explains the difference between shell autosuggestions and autocompletion, and shows how to enable suggestions in Bash, Zsh, and Fish.

Jun 10, 2024

login shell

Quick notes on login shells—the advantages, how they load configuration, and related resources—so I can troubleshoot them faster.

May 15, 2024

Understanding Shebang

This article introduces shebang, including usage scenarios, implementation details, etc., to improve understanding of shebang efficiency.

Apr 2, 2024

Installing and Switching Shells

Quick reference for installing Bash, Zsh, Fish, and Tcsh on Ubuntu plus notes on printf escaping differences.

Oct 31, 2023

Linux下ls命令中的time-style参数

本文是作者对Linux下ls命令中的time-style参数的介绍,包括Linux下ls命令中的time-style参数的优势、实现细节、相关资料等,这些步骤可以帮助作者提高Linux下ls命令中的time-style参数的效率。

Sep 5, 2023

FreeBSD Password Login Timeout Error

This article provides an analysis of FreeBSD password login timeout errors, including troubleshooting steps, implementation details, and related resources to help improve efficiency when resolving FreeBSD password login timeout issues.

Aug 21, 2022