Today, let's look at the Linux array:
First, what is array?
Array: Actually, the group is also a variable, but it is a variable that can save multiple values. The index and subscript of the array are used for reference.Note: The values stored in
1. Learn to write simple makefile
2. Compile an applicationProgramCan be run with makefile
3. Learn to write the driver makefile
4. Write a simple char driver. The makefile is compiled and can be insmod, lsmod, or rmmod. Print Hello world
There are two physical NICs on the PC. The physical network card corresponding to eth0 in the virtual machine is connected to the TP-link router (192.168.1.1), and the physical network card corresponding to eth1 is connected to a local database (192.
We all know that in windowsProgramThe service is always running in the background, or the service is stopped. The program cannot be switched between the foreground and background. Linux provides FG and BG commands, allowing us to easily schedule
Path of the compression and decompression command {#1 gzip command:/bin/gzip Syntax: gzip option [file] Function Description: compressed file features: 1. Only files can be compressed [not D] 2, do not retain the source file #2 gunzip/gzip-D Syntax:
『* 1 Windows and Linux File Sharing --- samba* 2 FTP application -- vsftpd』Samba is a free software that implements the SMB protocol on Linux and UNIX systems. It consists of servers and client programs.In Unix systems, Samba shares file and print
The main task of user management is to create a legal user account, set and manage user passwords, modify user account attributes, and delete obsolete user accounts when necessary.
1. Add a new userIn Linux, only the root user can create a new user.
I use the top command to view CPU usageIt is found that the idle usage is 0%, while iowait occupies 79%. This is a problem of the Redhat as 3 system, or caused by some processes. Please advise [from bbs.bitscn.com]
I searched for iowait usage on
1. Create and use static databasesCreating a static database is quite simple. Generally, ar programs are used to combine some target files (. O,Create a separate database and run ranlib to add some index information to the database.
2. Create and
I have just re-installed the Ubuntu system and reconfigured the jdk1.7 environment. Java environment variables are added to/etc/profile. After the profile script is executed using source, the JDK information is displayed by running Java and
1. Split description
Split can be used to cut a log file to facilitate log processing. For example, if there is a 12 GB log, you need to delete a row of data and know the row number. However, using SED and VI is slow,
You can first split and then
My sync blog: http://apps.hi.baidu.com/share/detail/32074779
1. Copy an objectSudo CP file to be copied /... (target path) 2. create sudo mkdir /... (folder and path to be created) 3. unzip myfile.zip
Tar-xvf myfile.tar
Tar-zxvf
PrefaceOfficial WebsiteHttp://jakarta.apache.org/tomcat/connectors-doc/2004/11/15/has announced that JK2 will not be further developed.The reason is that the installation and configuration of JK2 are complex and difficult to attract developers'
Encryption and decryption technology:Symmetric encryptionThe encryption and decryption Parties use the same key. The encryption and decryption speed is very fast.Data blocks are generally the same size. If the remaining data blocks are not the same
Recently, due to work requirements and frequent access to Linux, we listed frequently used commands for future reference.
1. PS-Ef | grep process name (this process name can be a fuzzy value)
According to the query results, you can get the process
Semaphores are a means of synchronization between different processes or different threads of a given process.In POSIX, there is already a set of signal interfaces for synchronization between different threads in the same process. The interfaces are:
Recently, I saw some friends discussing how to use minicom to communicate with the Development Board in some embedded development groups or forums. After all, there are many friends who use Linux in virtual machines like me. The following method is
Generally, the number of network card chipsets supported by the new Linux preset version is already quite complete, and many network card chips have been supported, such as rlt 8139 chip (RealTek 8139) so users can easily set their network cards.
Background: required by the project. The ice, Poco, and protobuf libraries used in windows are transplanted to arm-Linux for running.
If you don't talk about it, go to the topic:
1. ice3.3.1
General compilation process:
1) Compile iceutil. So first
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service