1.Data truncation:
BecauseLongCalculation of type variables (Value assignment, comparison, shift, etc.LongDefined inX86For32 bits,InIA64For64bits.It is easyIntType Variable operation exception.
Solution: avoid calculation between different types
1. Create a MB file in the root directory as a swap file for use
Dd If =/dev/Zero of =/swapfile BS = 1024 k count = 200
2. Enable swap space and set the label of swap space to/swapfileMkswap-c-l/swapfile
3. Make the swap space take effect and
I.Linux dynamic library selection sequence refers:
1. CompileProgramWhen a dynamic library is used, what sequence should I look up from?
2. When running a program, you need a dynamic library. Where can I find it?
II.The order of so found
I originally wanted to directly look at the advanced programming in the Unix environment and found that I still don't understand it. I just took a look at laruence's Private food!All the books in the school have been borrowed. You can only read the
Abstract
Today's topic is "The Mystery of Linux operating system cracking". Although the title is a bit mysterious, it will never be fooled.
Related Articles:
Linux operating system analysis (1)-How program works
Linux OS system analysis (2)-Process
Ifconfig eth0 new IP
Then edit/etc/sysconfig/network-scripts/ifcfg-eth0 and modify the IP
[Aeolus @ db1 network-Scripts] $ VI ifcfg-eth0
Device = eth0Onboot = YesBootproto = staticIpaddr = 219.136.241.211Netmask = 255.255.255.255.128Gateway = 219.13
Summarized the compression and decompression methods of various formats of compressed packages in Linux.
. TarUnpack: Tar xvf filename.tarPackage: Tar CVF filename.tar dirname(Note: tar is packed, not compressed !)------------------------------------
SuSE Linux operating system security reinforcement (Service shutdown)
After installing the SuSE Linux operating system, you need to perform a security scan to disable unused ports to enhance the security of the operating system.1. the system starts
Copy the/etc/profile file ~ /. Modify the. profile file to customize your own shell environment.
/uTo the User Name of the current user.
/hExtend to the Host Name (until the first vertex in the DNS name ).
/wExtended to the current working directory
1. What is a database?A large number of libraries exist on Windows and Linux platforms.Essentially, a library is a binary form of executable code that can be loaded into the memory for execution by the operating system.Because Windows and Linux are
Original ask address http://www.cnhonkerarmy.com/forum.php? MoD = viewthread & tid = 77072.
You can also refer to this article http://wenku.baidu.com/view/9c6a8d0b7cd184254b353586.html
(Virtual Machine environment: VMware Workstation)
1. Set the
This article is a small post, which can be ignored by experts.
If you have a program, a board, a file system, a computer, and a serial line, but you don't know how to start it, let the board run your program, then you should read this article
In the module, you try to implement a queue by yourself, and there will be problems when performing multi-process (the kernel should be called multithreading) operations.
I tried to solve the problem, but failed because I had to sign the kernel
With the support of VFS, user-State processes can use read and write to read and write file systems of any type, but how can we operate files without such a system calling in the Linux kernel? We know that when read and write are in the kernel state,
Diff is a tool used to compare the differences between two text files. It has three formats. The following is an example:
Upload three test files: 1.txt 2.txt 3.txt
Bixiaopeng @ bixiaopengtekimacbook-pro ~ $ Cat 1.txt name: Bi Xiaopeng age:
Reference: laruence's Linux private house dish
1. BIOS stage
The bios on the motherboard is a flash or EEPROM program, which will be based on the CMOS hardware information on the motherboard, which can be modified through the BIOS program. ,,
The
We often encounter this situation, from a Linux Server SSH to another Linux server, or use SCP or rsync to transmit data from one Linux server to another. Each operation requires a password for verification. If we establish a trust relationship
Original article: http://linux.chinaunix.net/techdoc/system/2009/07/02/1121343.shtml
Build an embedded linux root file systemAfter the uboot and kernel are transplanted, the linux root file system is built.
Document directory
3. Use custom queues
A work queue is a form of pushing and executing jobs. It is executed by a kernel thread in the process context and cannot access user space. The most important feature is that the work queue allows
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