#Introduction This article mainly introduces the basic knowledge of users and user groups in Linux; It includes how to use commands to create and delete users, create and delete user groups, and how to effectively manage users and user groups. #Article catalogue
0 × 1.Linux user information file and password file0 × 2.Linux user gr ...
Posted by Norsk.Firefox on Thu, 03 Mar 2022 21:49:51 +0100
Linux recycle bin – create a simple recycle bin with a shell script
Requirements to be met
Write a script – myrm SH, delete files. It has the function of recycle bin. All deleted files are stored in / my_backup directory;Write a script that can recover deleted files_ back. SH, which can restore the deleted file to the original pat ...
Posted by Darkness Soul on Thu, 03 Mar 2022 21:32:04 +0100
Programming environment: Ubuntu Kylin 16.04
Code warehouse: https://gitee.com/AprilSloan/linux0.11-project
linux0.11 source code download (it cannot be compiled directly and needs to be modified)
1. Add kernel
After entering the kernel, it does not immediately enter the main function. In the previous chapter, gdt is only set temporarily. In ...
Posted by mitchell on Thu, 03 Mar 2022 19:02:58 +0100
Standard IO relies on system IO for implementation. The concept of a file descriptor File IO operations: open, close, read, write, lseek Difference between File IO and Standard IO Efficiency issues with IO File sharing Atomic Operation Redirection implementation in program: dup, dup2 Sync: sync, fsync, fdatasync fcntl(); ioctl(); /dev/fd/direct ...
Posted by jeanlee411 on Thu, 03 Mar 2022 18:30:33 +0100
Previously, we have declared the targets instance to monitor and collect our node service status, as follows
However, when prometheus loads the target instance, there will be some default tags. We put the mouse over the label and it will be displayed
These tags will help us to declare how prometheus should get indicators from the targ ...
Posted by fred_belanger on Thu, 03 Mar 2022 18:19:25 +0100
I translated this article. The following is the translated article. The source of the article is: https://blog.packagecloud.io/yum-repository-internals/
By testing the metadata in the yum warehouse (metadata < some index files >), this article deeply understands the internal structure of the yum warehouse. I will introdu ...
The parking lot management system written by sqlite3 Its main functions are 1. Check the garage vacancy 2 Car owners choose parking spaces 3. System billing 4 View parking records of specified vehicles 5. Check the parking records of all vehicles 6 sign out
2, Explain time_t() function (because it is used)
Let's explai ...
Posted by cschotch on Thu, 03 Mar 2022 16:36:31 +0100
Linux system transplantation: Kernel top-level Makefile (Part 2)
Continue to analyze the top-level Makefile execution process of Linux kernel source code
1, make defconfig procedure
Like the top-level makefile of uboot, make XXX should be used before compiling the source code_ Defconfig configures the Linux kernel, and the code configure ...
Posted by jason97673 on Thu, 03 Mar 2022 14:59:28 +0100
The test environment built this time: PHP (5.5-7.0) + Apache (> 2.0) + MySQL 5 7 (Architecture) → Windows/Linux
The first step is to install the basic software through yum
Installation method: directly use after decompression; rpm file installation; yum online installation;
There is no need to configure the yum source here, becaus ...
Posted by Indersingh on Thu, 03 Mar 2022 13:00:22 +0100
1. Anonymous pipeline
Anonymous pipes communicate with blood related processes
Anonymous pipeline communication steps: 1. A process opens the same file in read-write mode respectively, so there are two file descriptors, one pointing to the file in read mode and th ...
Posted by kyoru on Thu, 03 Mar 2022 12:42:50 +0100