shell script under linux (basic concept)
shell script under linux (basic concept)
Document Reprint: https://www.cnblogs.com/yinheyi/p/6648242.html I just write it down as a note. If it infringes, please leave a message and delete it immediately.
First shell script:
#!/bin/bash
echo "Hello, world!"
Variable:
Define variables:
country="China" Number=100
be careful: 1. There must ...
Posted by keenlearner on Sat, 18 Dec 2021 03:41:46 +0100
Tired of VMware, try a lighter virtual machine
When it comes to virtual machine tools, VMware is naturally the most familiar. It has many powerful functions. What I recognize most is that it is very convenient to modify the configuration of the virtual machine to make the virtual machine achieve its desired performance ~ ~
But VMware is really easy to use, but you have to pay! It's not che ...
Posted by utahcon on Sat, 18 Dec 2021 02:54:53 +0100
xmake v2.6.2 release, new Linux kernel driver module construction support
Xmake It is a lightweight cross platform construction tool based on Lua.It is very lightweight and has no dependencies because it has built-in Lua runtime.It uses xmake Lua maintains project builds, compared to makefile / cmakelists Txt, the configuration syntax is more concise and intuitive, and is very friendly to novices. It can get started ...
Posted by myharshdesigner on Sat, 18 Dec 2021 02:19:27 +0100
After connecting to PPPoE, Linux cannot retain the original physical network card IP address as Windows does
1. Come straight to the point and explain the phenomenon
(1) It is known that there is a PC of Linux system and a PC of Windows system in the network environment. Before connecting PPPoE, the IP addresses of relevant physical network cards are as follows: (2) If a PPPoE server has been set up in the current network environment, Linux and Win ...
Posted by SamDOD on Fri, 17 Dec 2021 19:59:35 +0100
Chapter 5 - deploying Tomcat and its load balancing (application linux protection and clustering)
General catalogue of phase III link
catalogue
I. deploy Tomcat
(1) Introduction to Tomcat
(2) Application scenario
(III) cases
1. Preparation
2. Install JDK
3. Installing and configuring Tomcat
4. Tomcat related instructions
5. Description of Tomcat main configuration file
6. Establish a java web site
2, Nginx+Tomcat load balancing ...
Posted by davidohuf on Fri, 17 Dec 2021 16:15:30 +0100
Establishment of linux kernel file system
Role of file system
1. Is a directory for disk management 2. Is the way to operate all hardware devices in linux 3. Functional mechanism of the system
File system is also called application program. Writing application program should not only exist in the file system, but also use many functions of the file system. Most embedded companies are ...
Posted by crowezr on Fri, 17 Dec 2021 15:03:37 +0100
Xtrabackup download and installation (full incremental backup)
preface
The database needs to be started during backup and closed during recovery
1, What is Xtrabackup?
MySQL cold standby, mysqldump and MySQL hot copy cannot realize incremental backup of the database. In the actual production environment, incremental backup is very practical. If the data is greater than 50G or 100G and the stora ...
Posted by icaro on Fri, 17 Dec 2021 14:06:04 +0100
QGC receives PX4 custom Mavlink messages
Here are some additions. My px4 version is 1.11 0dev, in Ubuntu 18 Developed on 04, qgc is the latest version of the current official website. Developed on windows, your source code will be slightly different due to version differences, so code copy, paste and compilation will certainly report errors, so you have to change it according to the s ...
Posted by maddog720 on Fri, 17 Dec 2021 12:07:00 +0100
View new files in linux
Query and edit the content within the current [1:00, 2:00] interval find /etc -mmin 2 / / Note: it refers to the minutes from [n-1, n] Query and edit the content within the current [0:00, 2:00] interval find /etc -mmin -2 Query and edit the content within the interval of [2:00, positive infinity] from now on find /etc -mmin +2
Query and e ...
Posted by johnpdmccall on Fri, 17 Dec 2021 10:14:07 +0100
Directory operation and file operation of Linux kernel file system
namei.c 1. Through nameI C continue to be familiar with the workflow and mode of file system inode dir_ Entry (file entry structure)
dir_ The entry structure has two elements File name file inode number
2. By interpreting the actual process of the source code, we know the implementation method of directory operation, file operation and link o ...
Posted by sciwaysoft on Fri, 17 Dec 2021 08:50:30 +0100