Quick Start Guide to Linux

Quick Start Guide to Linux

Follow the Embedded Learning Station to get more fresh hot topics Common operating systems include Linux, Unix, Windows, and Mac OS. More people are familiar with Windows, while Unix and Mac are almost unheard of, and Linux is just a name to many. Indeed, for non-professionals, Windows is sufficient for all needs, and Linux seems … Read more

Introduction to Linux

Introduction to Linux

Did you know that there are operating systems for computers other than Microsoft’s Windows? Some of you may have used Apple’s MacBook, which runs on macOS instead of Windows. Apart from these two, there is another well-known yet not-so-famous operating system in the world. It is well-known among IT professionals, but not commonly encountered by … Read more

Why You Should Understand U-Boot for Embedded Systems

Why You Should Understand U-Boot for Embedded Systems

Why U-Boot is Needed1.1. Main Components of Computer Systems(1) A computer system is a system centered around the CPU. Typical computer systems include: PCs (desktop + laptop), embedded devices (smartphones, tablets, game consoles), and microcontrollers (home appliances like rice cookers, air conditioners).(2) There are many components that make up computer systems, and different computer systems … Read more

Master Makefile in 5 Minutes

Master Makefile in 5 Minutes

Photographer: Product Manager This Sichuan restaurant tastes quite good In a previous article titled “One Skill a Day: Writing Makefile for Python Projects”, we discussed Makefile. Many students have left messages on the public account backend, wanting to learn more about how to write a Makefile. Thus, we have today’s article. If you are currently … Read more

11 Essential Performance Analysis Tools for Linux

11 Essential Performance Analysis Tools for Linux

Click the top “LinuxLearn This Way” to follow, star, or pin it for the latest updates. First delivery guaranteed. Editor: Linux Sister | Source: Linux Should Be Learned This Way Link: https://bbs.huaweicloud.com/blogs/421580 Previous post: The efficient log printing tool we’ve used for two years is really amazing! Hello everyone, I’m Linux Sister. Command Summary: <span>uptime</span> … Read more

How to Set Process Priority in Linux

How to Set Process Priority in Linux

1. Introduction The previous article discussed how to check process priority; this one explains how to set process priority. There are two methods for setting process priority: Command line; Source code; 2. Command Line Method main.c: #include <stdio.h> int main(int argc, char *argv[]) { while(1) { ; } return 0; } Compile: gcc -o proc-pri … Read more

Linux File Search Tools: Locate vs Find

Linux File Search Tools: Locate vs Find

1. Locate 1. Performance Overview Queries the pre-built file index database on the system /var/lib/mlocate/mlocate.db Note: If this file is deleted, locate will not work. You need to manually update the database (updatedb) or restart the system for locate to function again. Relies on a pre-built index: The index is constructed automatically during idle times … Read more

Understanding the Linux Top Command

Understanding the Linux Top Command

<span>top</span> is a very powerful real-time system monitoring tool in Linux that allows you to dynamically view the system’s operating status, including the usage of resources such as CPU, memory, and processes. 1. Starting top To start top, simply enter the following command in the terminal: top 2. Overview of the top Interface The top … Read more

Linux Commands for Managing Files and Directories

Linux Commands for Managing Files and Directories

Linux Commands for Managing Files and Directories pwd——Prints the current path of the user, print work directory, used in text mode cd——Changes the current directory, change directory Format: cd <directory_name> [root@localhost~]# cd.. Go back to the parent directory [root@localhost~]# cd Go to the user’s home directory [root@localhost~]# cd/home Switch to the home directory using the … Read more