Do Not Confuse Shell Commands with Linux Commands!

Do Not Confuse Shell Commands with Linux Commands!

Under the black curtain of the terminal, Shell commands and Linux commands are like twin flames, intertwined yet distinctly characterized. Beginners often confuse the two, but in reality, they are mirror projections of ‘environment’ and ‘system’. 1. Definition Distinction: Interpreter vs Kernel Shell commands: Instructions executed through a Shell interpreter (such as Bash/Zsh), essentially serving … Read more

One-Click Installation of Oracle 11gR2 Database on Rocky Linux 10

One-Click Installation of Oracle 11gR2 Database on Rocky Linux 10

One-Click Installation Script Preparation steps before using the script Install the operating system Configure the host network Set up the software source; the script will configure it automatically, and you need to mount the ISO image Create a directory for storing software: mkdir /soft Upload the software package Upload the installation script Check Host and … Read more

Setting Up Custom Programs as Services for Automatic Startup in Linux

Setting Up Custom Programs as Services for Automatic Startup in Linux

There are many ways to set custom programs to start automatically on boot in Linux systems. The method described in this article is to set the program as a service for automatic startup.Create a new hello.service file in the /lib/systemd/system directory. touch /lib/systemd/system/hello.service vim /lib/systemd/system/hello.service [Unit] Description=Hello Service [Service] Type=simple ExecStart=/usr/bin/hello.sh SuccessExitStatus=2 [Install] WantedBy=multi-user.target Note … Read more

Examples of Using Awk in Linux

Examples of Using Awk in Linux

Awk is a scripting language used for processing data and generating reports. The awk command programming language does not require compilation and allows users to use variables, numeric functions, string functions, and logical operators. Awk is a utility that enables programmers to write small but effective programs in the form of statements that define the … Read more

Ansible Playbook: Core Elements and Examples

Ansible Playbook: Core Elements and Examples

1. Core Elements of a Playbook: hosts List of remote hosts to execute on tasks Set of tasks variables Built-in or custom variables called in the playbook templates Files that can replace variables in template files and implement some simple logic handlers Used in conjunction with notify, triggered by specific conditions, executed if conditions are … Read more

Linux Command – pwd

Linux Command - pwd

Command Overview pwd is a fundamental yet important command in Linux/Unix systems, which stands for Print Working Directory. Its core function is to display the current directory path where the user is located, helping users quickly confirm their position in the file system. Usage The syntax of the pwd command is as follows pwd [options] … Read more

EDA Toolchain: FPGA Remote Debugging Guide for Automated Bitstream Programming

EDA Toolchain: FPGA Remote Debugging Guide for Automated Bitstream Programming

Introduction In the FPGA development process, programming the bitstream file and using ILA for debugging are common operations. However, if the FPGA board is located in a server room or connected to a server via PCIe, we often have to run to the server room or next to the server with a laptop to connect … Read more

10 Killer Python Automation Scripts!

10 Killer Python Automation Scripts!

In the fast-paced modern life, repetitive tasks act like invisible “time thieves,” quietly consuming our work efficiency and creative enthusiasm. When faced with mechanical operations such as data organization and file archiving, manual processing not only easily leads to burnout but may also result in inefficiency due to negligence. Fortunately, Python, with its rich standard … Read more

Don’t Let Basic Linux Skills Hold You Back! Do You Really Understand These Shell Tricks?

Don't Let Basic Linux Skills Hold You Back! Do You Really Understand These Shell Tricks?

Click the blue “Most Programmer” to follow me! Add a “star” to get daily tech learning at 18:03 Shell is the core weapon of the Linux system, but many people only know the basic commands likels、cd、rm and nothing more. The following advanced tricks will help you say goodbye to being a “Shell novice” and boost … Read more

Linux Touch Command

Linux Touch Command

Linux Touch Command 1. Introduction In Linux systems, <span>touch</span> is a simple yet powerful command-line tool primarily used to create empty files or update the access and modification timestamps of files. Although its functionality appears straightforward, by combining different options and scenarios, the <span>touch</span> command can achieve many advanced uses, especially in scripting, file management, … Read more