Shared memory is still very useful, whether it is to solve the IPC problem, or file Buffer problem, it is amazing.
In the following works, even if you have no knowledge or knowledge about the shared memory, you can easily implement shared memory
ArticleDirectory
Parameters
Option
Example
Tips
Set the permission mask when creating the file
Umask [Mask]
Parameters
MaskIt can be three octal digits orChmodSymbol value used in,MaskSpecify the disallowed
Source: http://baike.baidu.com/view/2367608.htm
Vmlinuz is bootable and compressedKernel. "VM" represents "Virtual Memory ". Linux supportVirtual MemoryUnlike the old operating system, such as DOS, which has a limit of KB memory. Linux can use
ArticleDirectory
Parameters
Option
Example
Tips
Search for entries in the mlocate Database
Locate [Option]Pattern
Parameters
PatternYesLocateFile Name or regular expression to be searched
Option
-I
1. Shutdown
The shutdown command safely shuts down the system. It is very dangerous for some users to disable Linux by directly disconnecting the power supply. Different from windows, Linux runs many processes in the background, therefore, force
Title: grub + Linux + windows
Body:
A dual-system is installed, including Windows 2003 sever and redflag 6.0 desktop.
Make a record of the problem, just forget.
1. Problems:
Guide grubProgramIt is written to the boot zone of the first
Start Step 1 -- load BIOSTurn on the computer power, the computer will first load BIOS information, BIOS contains CPU information, device startup sequence information, hard disk information, memory information, clock information and so on.
# Include
# Include
# Include
# Include
The login user information is stored in/var/run/utmp.
Void perror (const char * s );Print error information
1. Output string format ControlPrintf ("% NS", STR) // outputs a string of the specified
LinuxDifferences between soft and hard links
1: Soft link
Command:Ln-S/Etc/inittab/test/inittab. Soft
View:Ls-l/Etc/initab/test/inittab. Soft
The soft connection is similarWindows,->The address of the real file.
2: Hard link
In normal work, you often encounter some routine tasks that need to be run regularly on a daily basis. To solve this problem, you can use the crontab command. Let's take a look at it later ~
First, start the crontab service.
Service crond
Today, we found that Tomcat port 8080 is unavailable on the server and the port is occupied.
Run the following command:
PS-Aux | grep Tomcat
Tomcat process with no port 8080 is found.
Run netstat-APN
View all processes and port usage. The
1 client
Program And server programs
The biggest difference between a network program and a common program is that a network program consists of two parts: the client and the server.
A network program starts a server program and waits for the
Arm-Linux-strip files can reduce the file size:
For example, after the cross-compiled transmissioncli is 7.2 MB, but after the "arm-Linux-strip transmissioncli" command, the size of transmissioncli is changed to 2.5 MB, much smaller.
Find and
From: http://man.chinaunix.net/tech/secure_programs_howto_cn/c711.html Restrict the call exit to a valid value
Make sure to call otherProgramOnly valid and expected values of each parameter are allowed. It sounds not difficult, but it is much
1. Network parameter settings command ifconfig, ifup, ifdown, route
2. Some Network Diagnostic commands, such as ping and traceroute, run *** to indicate that the node is faulty.
3. Netstat, host, nslookup 4. Telnet can be used to connect to a
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