Due to changes in the public account’s push rules, please click ‘View’ and add ‘Star’ to follow.
Get exciting technical shares at the first time.
Hello, how are you? I am Lei Gong!
As the saying goes: live and learn.
Especially in today’s society, where new things emerge every day, not learning really means not knowing.
Recently, I have been working on a military project that requires a Xinchuang environment for the server.
So I used the Kylin system Server, and during the problem-solving process, I often needed to use some commands.
Since I had hardly used Linux before, I had to learn some related commands on the spot.

01 make Command
The make command is used before installing drivers, as a compilation command to compile drivers.
Through AI Q&A, I gained a preliminary understanding of make,
the answers were comprehensive and lengthy, making them hard to remember,
so to keep it practical, simply put:
make is used for compilation; it reads instructions from the Makefile and then compiles.
If an error occurs during the make process, we need to record the error code and then ask the manufacturer or search online to study the meaning of the error code to solve the problem.
02 make install Command
The make install command is used when installing network card drivers,
as the server often inexplicably freezes, after consulting 400,
it was said that the network card driver was too old, suggesting to update the network card driver,
and later it proved effective to reinstall the network card driver.
Back to the make install command,
its core purpose is to install all necessary files such as compiled programs, libraries, and documentation into the specified locations in the system according to a predetermined directory structure, making them easy to use and manage.
If you encounter insufficient permissions when executing the make install command, you can prepend the command with sudo to gain sufficient permissions.
03 modprobe Command
This command is used to mount drivers, the command in the manual is as follows:
sudo modprobe rnp
The modprobe command is used to load or unload kernel modules.
So modprobe rnp seems to attempt to load a network card driver module named rnp.
During my learning process, I saw many blogs mentioning:
If an error occurs during loading, modprobe will unload the entire module.
The common parameters for this command include:
① -a: load all modules
② -c: display all module configuration information.
③ -d: use debug mode
④ -l: display available modules
⑤ -t: specify module type
⑥ -v: display detailed information during execution.
⑦ -V: display version information.
04 lsmod Command
The lsmod command in Linux is used to display the modules loaded in the system.
It is an abbreviation for list modules, listing all modules.
After installing the driver, you can use the lsmod command to verify whether certain modules have been loaded
lsmod | grep rnp
to check if the network card driver named rnp has been successfully installed.
05 Postscript
During the search process, I encountered some explanations that were contradictory, such as loading versus unloading,
and I couldn’t tell them apart, so I could only learn by watching and testing.
At least I got familiar with them, so the next time I see them, I won’t feel so strange.
2025-08-26
Sichuan · Mianyang

