What old Grass XI, this Sai also.--"Chu Ci"
This article turns from[Http://www.cnblogs.com/nerxious/archive/2013/01/18/2866548.html]
Sometimes we need Linux to load certain scripts or system services automatically when the system is powered on.
This
Modify native IP address The
first way:
Setup
1) Select "Network Configuration"
2) Select "Device Configuration"
3) Select "First network card"
4) set up details such as IP address
5) service Network restart (must have) the
The
Linux run Jar Pack command is as follows:
Way One: Java-jar Xxx.jar
Features: The current SSH window is locked, you can press CTRL + C interrupt the program to run, or directly close the window, program exit
How to keep the window unlocked.
User name in the system, login terminal, logon time
-Q
Show only the number of user logon accounts and logged-in users
-S
Ignore, it is the same with WHO
-R
Can view the running level of the current system
Run-level 3 APR 09:37 last=s
Overview
You need to use INITRAMFS in your recent work. Initramfs is a RAM FS, which enables Linux systems to be started in phases. There are two main ways to use Initramfs: one is to compile the smallest file system directly into the kernel image,
#include
#include
int main ()
... {
if (fork () = = 0)
... {
printf ("Child Process say hello to you!");
Sleep (5);
Exit (0);
}
Else
printf ("Parent Process, Hello");
return 0;
}
1: You typically use GDB to debug a subprocess by inserting the
Some time ago just contacted the Linux system, I said that the first use of the beginning, unlike the Windows operating system is visual, simple to create files or folders to be completed by writing commands, because the work needs, have to
The following code allocates space to the memory file using Mmap, and uses fork to generate a parent-child process that synchronizes and deadlocks through the semaphore in Semaphore. Completes the synchronization of the parent-child process.
Reference:Linux boot processLinux boot processIntroduction to how the computer is started
Each hard disk has at most one MBR, this MBR has 512Bytes, starts with 0x55, 0xAA ends. MBR is divided into 446Bytes and 64Bytes, the former 446Bytes is some
Top is a dynamic display process, that is, the user can press the key to refresh the current state. If the command is executed at the foreground, it will monopolize the foreground until the user terminates the program. More precisely, the top
Tool ResourcesSeven Linux command-line tools that you may never have heard of, but extremely useful Linux traffic monitoring tools-iftop (most comprehensive iftop tutorials)
Basic Knowledge
1. FPM
①FPM several steps to easily package rpm②FPM made
To configure the Java_home command under Linux:Java_home=/usr/java/jdk1.6.0_07 (after "=" is the JDK installation path)Export Java_home (this sentence to be added, let java_home output)* To set the java_home as a global variable you need to
Reference documentation 1:http://jingyan.baidu.com/article/7908e85c725159af481ad2f7.html
Reference documentation 2:http://blog.csdn.net/wang1144/article/details/7801149
Reference in document 1 provides a way to view system information in 4, but
Prepare to install a database, after automatically dividing the partition size on the virtual machine
[Root@oracle ~]# Df-hFile system capacity has been used available with percent mount point/dev/mapper/vg_oracle-lv_root 50G 3.4G 44G 8%/Tmpfs 1004M
There are two kinds of memory management mechanism in modern operating system: segment Management and page-type management.Segment memory management is to divide the memory into segments, the starting address of each segment is the Janki address.
After the CentOS operation is installed, the system has its own openjdk, first view the relevant installation information:
1. You can use the Java-version command to view the system's own version information with JDK
$ java-version
Java Version "1.7.
Jump from electronic information engineering to computer, in the study of the image processing, found OpenCV is very fun, want to learn, there is no special good textbooks, the best document is the official tutorials, in the laboratory is busy, I
This article mainly refers to: http://forum.ubuntu.org.cn/viewtopic.php?f=122&t=196562&start=0, but in the operation is not the same as the text description of the order, recorded.After decompression, compile, errorConfigure:error:GNU GetText tools
The command MV for renaming a file or folder under Linux can be renamed and moved to a file or folder.
Example: Rename directory A to B
MV A B
Example: Move the/a directory down to/b, and rename to C
mv/a/b/c
In fact, in the text mode to rename the
Note: This article is to learn the notes of teacher Zhu's curriculum, based on linux2.6.35.7 and jiuding x210bv3s Development Board for transplantation.
/arch. Arch is the abbreviation of architecture. Arch Directory is a good number of
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