1, To create an anonymous pipe:
int pipe(int pipefd);
Function: create an anonymous pipeline for inter process communication;
Parameter: int pipefd this array is an outgoing parameter;
pipefd corresponds to the reading end of the pipeline;
pipefd corresponds to the write end of the pipeline;
Return va ...
Posted by casty on Fri, 04 Mar 2022 20:09:05 +0100
1.1 download installation files
1) If you want to download directly to the local server and upload to the remote server through ftp, please ignore the following operations
2) If the server is networked, you can directly download the server through wget command [centos version], as follows:
The linux system I use is cen ...
Posted by hiasl on Tue, 08 Feb 2022 22:58:35 +0100
zcat client_log_20211226/*.gz | head -n 10000 | jq .event | sort | uniq -c
jq is a lightweight json processing command. json data can be sliced, filtered, mapped and transformed jq . Format and output json data
-c compact output json data-s reads all inputs into an array-r outputs the original string instead of a ...
Posted by AjBaz100 on Fri, 21 Jan 2022 08:03:28 +0100
Building Vim from source code
The thing is like this, because I'm a heavy user of Vim..
However, the version that can be installed or comes with on most systems is an older version, possibly 7.0 X or something. Or you need to use some features or functions of Vim, but the program built for you by others is not enabled, which is ...
Posted by sub7av on Thu, 20 Jan 2022 07:52:05 +0100
I Shell background
1.1 GNU plan
Tips: The GNU Project is a free software, mass collaboration project that Richard Stallman announced on September 27, 1983. Its goal is to give computer users freedom and control in their use of their computers and computing devices by collaboratively developing and publishing software that gives everyon ...
Posted by John_wilson on Thu, 20 Jan 2022 01:28:05 +0100
vim filename When on, it is command mode. // filename is opened when it exists, and created and opened when it does not exist
gg Is to go directly to the top of the file content,
shift + g Directly to the bottom of the file.
dd Delete the line where the cursor is located
3dd Delete the line where the cursor is located and the follow ...
Posted by jestercobblepot on Fri, 24 Dec 2021 02:03:28 +0100
Linux learning – disk quota, VDO, virtual data optimization
Disk capacity quota
Soft limit: when the soft limit is reached, the user will be prompted. When the user is still allowed to continue to use within the limited limit
Hard limit: when the hard limit is reached, the user will be prompted and the user's operation will be forcibly ...
Posted by netbros on Tue, 19 Oct 2021 22:51:12 +0200
Check whether the motherboard is in UEFI mode
Test whether the connection is successful
Ensure that the system time is accurate
timedatectl set-ntp true
View hard disk partitions
Hard disk partition Partition using cfdisk tool
After ent ...
Posted by alpine on Tue, 21 Sep 2021 22:01:12 +0200
First, for mysql databases, the default character is latin1
This latin1 is the culprit that we can't write in Chinese.The solution, then, is to change the character set to UTF-8
The easiest way to do this is to modify the windowMy.iniProfile),My.iniWhere and how to modify it to UTF-8 is as follows: https://www.cnblogs.com/Ray-xujianguo/p/332 ...
Posted by htcilt on Sun, 12 Jul 2020 17:34:44 +0200