shell function knowledge of linux

This article is from the collation of online posts, thank you for sharing. I. Linux shell function parameters In Shell, you can pass parameters to a function when it is called. Inside the function body, the value of the parameter is obtained in the form of $n, for example, $1 for the first parameter, $2 for the second parameter ($1 for the fi ...

Posted on Fri, 05 Jul 2019 15:01:08 -0700 by MnM333

Compiling FFMpeg (Android Studio) under Mac

Recently, I want to carefully study the company's push stream and the underlying code of the player, but I am doing Java c is not a special understanding, there is no way, step by step. In fact, the configuration of NDK is very simple. I won't dwell on it here. There are many posts about Dashen on the internet. In fact, there are several step ...

Posted on Thu, 04 Jul 2019 13:47:54 -0700 by slipster70

Master-slave Replication Conquering Mongodb: Cluster Replication

Cheap is quite old, can we still eat? Of course! Mongodb's research is always intermittent and needs to be continued and accumulated to provide reference for future work. At the end of the year, make a restraint of what you use this year. Take care of what you wrote at the beginning of the year. Today, try a replicate cluster Rep ...

Posted on Thu, 04 Jul 2019 12:07:36 -0700 by hl_tan

NFS Setting Method under Linux

NFS is a simple and effective method of file sharing between Linux and Unix. It is also one of the file storage methods supported by Kubernetes. In this article, we will describe in detail how to set up NFS on CentOS 7. Preconditions Because different distributions of Linux or Unix have slightly different possibilities, for convenience, bo ...

Posted on Wed, 03 Jul 2019 17:09:15 -0700 by dwu

4412 Driver-Input Subsystem Key

Introduction to the concept of input subsystem Input subsystem framework struct pin_desc pins_desc[4] = {{IRQ_EINT(26),  "S2", EXYNOS4_GPX3(2),   KEY_L},{IRQ_EINT(27),  "S3", EXYNOS4_GPX3(3),   KEY_S},{IRQ_EINT(28), "S4",  EXYNOS4_GPX3(4),   KEY_ENTER},{IRQ_EINT(29), "S5",  EXYNOS4_GPX3(5), KEY_LEFTSHIFT}, }; From here we know K1 - > KEY ...

Posted on Wed, 03 Jul 2019 12:58:28 -0700 by chaotica

Operations and Maintenance Basic Command

1. View the current operating system version [root@root ~]# cat /etc/redhat-release CentOS release 6.5 (Final) 2. View the number of bits in the operating system (kernel) [root@root ~]# uname -r 2.6.32-431.el6.x86_64 3. View the running level of the current system [root@root ~]# runlevel N 3 4. Setting Linux boot level 5. Temporary modificatio ...

Posted on Tue, 02 Jul 2019 14:45:30 -0700 by Cbrams

linux Command Complete

The ls command is used to display a list of targets and is a more frequently used command on Linux.The output information of the ls command can be highlighted in color to partition different types of files. Common options: ls (option) (parameter) -a Displays all files and directories (ls does not list hidden files by default); -l All output i ...

Posted on Tue, 02 Jul 2019 10:17:19 -0700 by Raphael diSanto

DML for MySQL operations

Catalog Classification of SQL statements DML statement Classification of SQL statements DDL (Data Definition Languages) statement: Data Definition Language.These statements define different data segments, Definition of database objects such as databases, tables, columns, indexes, etc.Common statement ke ...

Posted on Mon, 01 Jul 2019 09:52:57 -0700 by iceblox

Logwatch Log Analysis Tool

Introduction:Logwatch is a log analysis tool developed using Perl.Logwatch can analyze Linux log files and send mail automatically to relevant processors to customize requirements.The mail function of Logwatch is to send mail with the mail server of the host system, so the system needs to install mail server, such as sendmail, postfix,Qmail, et ...

Posted on Fri, 28 Jun 2019 15:25:57 -0700 by hinchcliffe

Detailed Installation, Configuration and Use of Docker

Detailed Installation, Configuration and Use of Docker http://blog.csdn.net/fgf00/article/details/51893771 Classification: Virtualization (2) Catalog (?)[+] Basic concepts Docker Including three basic concepts Image Container Repository By understanding these three concepts, we understand the whole life cycle ...

Posted on Fri, 28 Jun 2019 13:25:25 -0700 by qingping