The Three Musketeers of Text Processing in Linux

The Three Musketeers of Text Processing in Linux

Core Concepts • grep: Global Regular Expression Print. Used for searching and filtering text. Its core function is to match patterns (regular expressions) and output the matching lines. • sed: Stream EDitor. A stream editor used for basic text transformations such as replacing, deleting, and inserting text. It processes text line by line and is … Read more

Getting Started with Linux: A Guide to Installing VMware and Basic Tools

Getting Started with Linux: A Guide to Installing VMware and Basic Tools

For beginners who are just getting started with Linux, setting up a suitable learning environment is the key first step, and the VMware virtual machine is a practical tool for achieving “running multiple systems on one computer“. This tutorial will guide you from 0 to complete the download and installation of VMware virtual machine, VMtools … Read more

Basic Linux Practice Multiple Choice Questions – 04

Basic Linux Practice Multiple Choice Questions - 04

16. Question: You are working on a system and want to compile a program from source code. You realize you need some development tools. In which directory do you expect to find these tools? Option 1: /usr/bin Option 2: /opt Option 3: /usr/local/bin Option 4: /usr/include Correct Answer: 3 Explanation: Development tools, such as compilers … Read more

Installing Google Chrome on Linux x86 Architecture System

Installing Google Chrome on Linux x86 Architecture System

1. Confirm System Version and Architecture Check the system version, which is Tongxin V20 1070e Check the system architecture; currently, Google Chrome only supports x86 architecture. 2. Download the Installation Package Select the corresponding installation package based on the operating system version and architecture. Use the rpm command for systems that manage software packages with … Read more

Challenges and Enhancements for Functional Safety in Linux Systems

Challenges and Enhancements for Functional Safety in Linux Systems

1. Insufficiencies and Challenges of Functional Safety in Linux Systems The functional safety requirements for Linux systems in autonomous driving systems must meet the ISO 26262 ASIL B+ level (specific requirements depend on the actual automation level of intelligent driving and the functional allocation on the SOC). This is a significant pain point in the … 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

The Dark Side of Linux Permissions: Why Root Abuse Can Lead to Disaster?

The Dark Side of Linux Permissions: Why Root Abuse Can Lead to Disaster?

Click the "C Language and CPP Programming" above, select "Follow/Pin/Star the public account" Useful benefits delivered first! Recently, some friends said they did not receive the article push for the day. This is because WeChat has changed the push mechanism, causing those who have not starred the public account to miss the articles pushed on … Read more

Using Linux Does Not Equal Localization: Don’t Let ‘Open Source Kernel’ Mislead Your Judgment of ‘Self-Control’

Using Linux Does Not Equal Localization: Don't Let 'Open Source Kernel' Mislead Your Judgment of 'Self-Control'

Using Linux Does Not Equal Localization: Don’t Let ‘Open Source Kernel’ Mislead Your Judgment of ‘Self-Control’ It is often heard around me: “Our company uses the Linux system, so that must mean we are localized, right?” This statement is half right and half wrong—Linux is indeed an important technological cornerstone of domestic operating systems, but … Read more

Filtering and Sorting with the Linux Top Command

Filtering and Sorting with the Linux Top Command

top is a command in Linux used to view current processes, CPU, memory, and other information. 1. Filter by User <span>top</span> and then press <span>u</span> to enter the username you want to view. 2. Filter by Command <span>top</span> and then press <span>o</span> to enter <span>COMMAND=xxx</span>, which will only display the xxx program. <span>top</span> and then … Read more

Steps to Install Oracle with a Graphical Interface on Linux

Steps to Install Oracle with a Graphical Interface on Linux

### 1. Create Groups and Users [root@localhost ~]# /usr/sbin/groupadd -g 54321 oinstall [root@localhost ~]# /usr/sbin/groupadd -g 54322 dba [root@localhost ~]# /usr/sbin/groupadd -g 54323 oper [root@localhost ~]# /usr/sbin/useradd -u 54321 -g oinstall -G dba,oper oracle ### 2. Create Working Directory and Set Permissions [root@localhost ~]# mkdir -p /u01/app/oracle/product/19.3.0/db_1 [root@localhost ~]# chown -R oracle:oinstall /u01/ [root@localhost ~]# … Read more