Frequently Used Linux Shortcuts (Part 1)

In the Linux environment, many shortcuts are used regularly. Here, I share some shortcuts and methods that can improve efficiency, hoping they will be useful to you. In Linux, implementing command auto-matching from history mainly relies on command line completion and history command search. Below are several commonly used methods: 1. Quickly match historical commands … Read more

Some Cool Tricks with the Linux Bash Prompt

Some Cool Tricks with the Linux Bash Prompt

(Click the public account above to quickly follow) Author: Dave Neary, Translation: Linux China/toyijiu linux.cn/article-8711-1.html If you have good articles to submit, please click → here for details When you open a Shell terminal in a Linux environment, you will see a Bash prompt that looks something like this: [user@$host ~]$ Did you know that … Read more

Comprehensive Guide to Linux Shell Scripting

Comprehensive Guide to Linux Shell Scripting

This section shares tutorials on shell scripting programming under Linux. We introduce the content starting from the most basic concepts, allowing beginners to grasp this skill through the tutorials. Each knowledge point is detailed with corresponding code examples. You can access the link below to enter: http://www.mdrsec.com/#/ctoplus_article/e89ae5f7a30c68f5b6d4725feb7a8e1d You can also enter from the official system’s … Read more

Automated Docker Deployment Script on Rocky Linux 9

Automated Docker Deployment Script on Rocky Linux 9

Note: This script is currently limited to <span>Rocky Linux 9</span> and has not been tested on other system versions. Future updates will enhance the script’s compatibility, robustness, and options. The installed <span>Docker</span> version defaults to the latest version. 🛠️ Preparation Work A minimal installation of the Rocky Linux 9 operating system A stable internet connection … Read more

User Management Guide for Linux Beginners: Master User Management Skills!

User Management Guide for Linux Beginners: Master User Management Skills!

Linux | Red Hat Certification | IT Technology | Operations Engineer👇 Join our technical exchange QQ group with 1000 members Note: [Official Account] for faster approval 1. Relevant Knowledge To complete this section’s tasks, you need to master the following knowledge: Linux create user command Linux delete user command 1.1 Linux Create User Command 1.1.1 … Read more

Shell Scripting Basics

Shell Scripting Basics

Click the blue textFollow us Shell is a scripting language written in C, serving as a bridge between the user and Linux. The user inputs commands to the Shell, which then passes the corresponding operations to the kernel (Kernel), and the kernel outputs the results back to the user. Shell is generally divided into two … Read more

46 Common Linux Interview Questions for You

Question 1:What symbol represents the absolute path? How to represent the current directory and the parent directory? How to represent the home directory? What command is used to change directories?Answer:Absolute path: e.g., /etc/init.dCurrent directory and parent directory: ./ ../Home directory: ~/Change directory: cdQuestion 2:How to view the current processes? How to exit? How to view … Read more

Creating Ubuntu 20.04 Root Filesystem on RK3399

Creating Ubuntu 20.04 Root Filesystem on RK3399

Click the above“Embedded and Linux Matters”, select“Pin/Star Public Account” Benefits and resources delivered immediately The file system that comes with Firefly lacks some basic functional modules, so we can manually create a Ubuntu 20.04 file system. Download Ubuntu Root Filesystem http://cdimage.ubuntu.com/ubuntu-base/releases/ Install Virtual Machine apt-get install qemu-user-static Extract mkdir ubuntu-rootfs tar -xpf ubuntu-base-20.04.5-base-arm64.tar.gz -C ubuntu-rootfs … Read more

Unlocking Linux: Shell Programming Variables

Unlocking Linux: Shell Programming Variables

1. What is Shell (1) Definition Shell is the command line interpreter in the Linux system, acting as a translator between the user and the system kernel. Users input various commands in the terminal, which are received and parsed by the Shell, then translated into instructions that the system kernel can understand, executing the corresponding … Read more

Common Tools for the Linux Command Line

Common Tools for the Linux Command Line

In the Linux command line, there are numerous shortcuts (often referred to as keyboard bindings or hotkeys) that can significantly enhance efficiency. These shortcuts are primarily provided by Bash (or other shells like Zsh) and the underlying readline library. Below are some of the most commonly used and useful command line shortcuts categorized: 1. In-line … Read more