ext: http://www.yunweipai.com/archives/11526.html
first, Shell part
1. There are four methods of assigning variables in the shell, in which the Name=12 method is used to call a .A Direct AssignmentB Use the Read commandC using command line
Linux under the general use of Ifconfig to obtain network interface device information, the input is as follows:
Eth0 Link encap:ethernet hwaddr 52:54:00:fa:9e:91
inet addr:192.168.129.46 bcast:192.168.129.255 mask:255.255.255.0
Inet6 ADDR:FE80::5054
refer to NetEase blogger "Meditation" blog-"gcc and g++ differences" with their own understanding to make personal understanding. (Due to the limited personal level, there will inevitably be the wrong place, please forgive me)
in general, compiling
1. Download Compressed Package
I use the mosquitto-1.4.5, download the address http://mosquitto.org/files/source/mosquitto-1.4.5.tar.gz
2. Decompression
Enter the directory where the package is located, and then unzip it by entering the following
Merge command view: SVN--help
SVN merge--help
[svn@svnpreapp02 svntest]$ svn merge--help merge:apply The differences between the two to a sources copy path. Usage:1. Merge Sourceurl1[@n] sourceurl2[@m] [Wcpath] 2. Merge Sourcewcpath1@n sourcewcpath2
1: The problem with the installation source.
The other day my Ubuntu was ruined by my carelessness, and then I wanted to experience the new Linux release. First of all, fedora, I listen to Fedora, because a lot of the software on this release is
Turn from: http://mp.weixin.qq.com/s?__biz=MzAxODI5ODMwOA==&mid=207314439&idx=1&sn= 3e98631a67fc4f2c8a03a0eb1f773d5f#rd
Using command-line tools is useful if you want to monitor the network on your system, and there are many off-the-shelf tools
In general, we have just installed Linux with VMware virtual machines, into the virtual machine found in the upper right corner of the small computer is fork:
This means that our network links are not. (You can ping Baidu Web site or something,
The Linux programming Interface
Users and Groups
(01) Users and Groups
Every user has a unique login name and an associated numeric user identifier (UID). Users can belong to one or more groups. Each group also has a unique name and a group
Connect the Android device under Ubuntu, although you don't have to install the drive like Windows, but you'll encounter an error: Enter the ADB shell, prompt insufficient permissions for device, and enter the ADB devices, The device name is
Linux formatted disk command linux mkfs directive: MKFS Use Rights: MKFS [-v] [-t Fstype] [fs-options] Filesys [blocks] [-l lable] said Ming: The establishment of the Linux file system on specific partition parameters: device:
1 Shutdown Command shutdown
As if the default in Ubuntu's terminal is the current user's command, just a regular user, so you can use Sudo-sh in the terminal to execute commands under administrator root.
1) shutdown–help
You can see how the shutdown
Brother Bird's Linux private dishes are divided into two volumes, respectively, the basic article and server chapter.
First of all, I read the background of this kind of books. Bo Master (that is, I ^_^) University of the major is the Linux C
Bash Scripts Foundation II
1.Bash Position Parameters
There are two simple ways to read user input into a variable in bash.
-Use Read to prompt the user for input (using the-P option) and store it directly to one or more variables:
Interactive
Reproduced in: http://www.lslnet.com/linux/dosc1/34/linux-258596.htm
Just wrote my system monitoring script, can be used to monitor, memory, CPU, hard disk space, swap,event log case, as long as these values exceed the preset value will send mail
1. API interface
Request Gpio Port
int gpio_request (unsigned gpio, const char *label) free Gpio port
void Gpio_free (unsigned gpio)Determine if the GPIO index number is valid (Gpio port exists)
int gpio_is_valid (int number);
Set Output: int
rps/rfs principle in Linux kernel network
In the last chapter, explained the network soft interrupt's mechanism and the optimization in the whole, but in the RPS and the RFS place did not completely explain clearly, only has described its overall
Linux Kernel formally supports the new file system EXT4 since 2.6.28. EXT4 is an improved version of EXT3 that modifies some of the important data structures in EXT3, not just as Ext3 to Ext2, but only adds a log function. EXT4 can provide better
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