2009-03-25 20:35:09
Author: finalbsdOriginal load: [url] http://www.sanotes.net/html/y2009/developer.html#/url]Copyright. The author and original source and this statement must be indicated in the form of links during reprinting.
LshwLshw
ArticleDirectory
Use sctp to optimize the network
Five risks in Linux socket programming
Http://www.ibm.com/developerworks/cn/linux/l-hisock.html
Use sctp to optimize the network
The traffic control transmission protocol combines
Change file permissions for numeric types
-Rwxrwxrwx These nine attributes are grouped by three or three attributes. Here, we can use numbers to represent each attribute. The attribute comparison table is as follows: R: 4 W: 2 X: 1 The numbers
Method 1
Execute the following commands on the terminal:
CAT/etc/issue
You can view the version number of the currently running ubuntu. The output result is similar to the following:
Ubuntu 12.04.1 lts \ n \ L
Method 2
You can also use the lsb_
Generally, the type command is used to determine whether another command is a built-in command, but it actually has more usage.
1. Determine whether a name is alias, keyword, function, builtin, file or nothing:
Type LSThe output isLs is the
1. View host model: Dmidecode | grep Product2. View CPU:
View the number of logical CPUs:Grep processor/proc/cpuinfo | WC-l
Check the number of physical CPUs: grep "physical ID"/proc/cpuinfo | sort | uniq | WC-l
View the number of physical
An error occurred while uploading images on the website today.ProgramThe problem was found that the original server storage space was not enough. It was clear that there was a GB disk space, and there was no reason to use it so quickly. I checked
Test Environment RedHat 5.4, enabling ports 3306 and 8080
Modify the iptables file in/etc/sysconfig:
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> # Firewall Configuration written by
The role of the ldconfig command is:Ldconfig creates the necessary links and cache to the most recent shared libraries found in the Directories specified on the command line, in the file/etc/lD. so. conf, and in the trusted directories (/lib and/usr/
This article from: http://blog.csdn.net/jiang_dlut/archive/2010/09/07/5868636.aspx
1. What is video4linux?Video4linux (v4l for short) is the kernel driver for video devices in Linux. Currently, video4linux2 has been added to the Linux kernel.
Reposted from Baidu encyclopedia
1. What is modules? the literal meaning of modules is the module, which refers to the kernel modules. In short, a module provides a function, such as isofs, minix, NFS, and LP. Traditionally, there are two
Run telinit 5 with RootYou can also use VI to modify the/etc/inittab. Let's take a closer look at the comments. That's help ..
1. the first step after installation is to log on to the GUI by default. If you enter the text interface after
Tar command
[Root @ Linux ~] # Tar [-cxtzjvfppn] file and directory .... Parameters:-C: Create a parameter command for the compressed file );-X: Unlock the parameter command of a compressed file!-T: view the files in the tarfile!Note
. TarUnpack: Tar xvf filename.tarPackage: Tar CVF filename.tar dirname(Note: tar is packed, not compressed !)---------------. GZDecompress 1: gunzip filename.gzDecompress 2: gzip-D filename.gzCompression: gzip filename.Tar.gz and. tgzDecompress: Tar
Download settings and use of the Input Method ibus in Linux
I.
Install the three packages one by one according to the sequence shown below. I have tested the three packages and there is no problem.
1. Python Library:
Cat is a line-by-line output of file content to the terminal
Tac outputs the file content in reverse order from the last line.
Rev outputs the text of each line in reverse order,
For example: # X. path is the path file generated by anypath ..,
Https://www.ibm.com/developerworks/cn/linux/l-ipc/part6/ from
Introduction:The previous sections of this topic, such as message queues, signal lights, and shared memory, are all discussed based on the Sys v IPC Mechanism, their applications
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