1. Question: How Linux executes the main function.This article uses a simple C program (SIMPLE.C) as an example to explain. Code as follows,
int Main ()
{
return(0);
}
2. Compiling~ #gcc-O simple simple.c3. View basic
Used for text lookups.grep [-abcefghhillnqrsvvwxy][-a][-B][-C][-d][-e][-f ][--help][template style [file or directory ...]-A or--text do not ignore binary data.-a or--after-context=-A N In addition to the row that matches, if the row is greater than
Ctrl+alt+t: Open terminal(The directory opened is the same as the previous terminal directory, if the terminal is not previously opened, then the main directory )Shift+ctrl+n: Open terminal( opens a directory that is the main directory; creates a
Linux kernel porting and bootingTarget borad:fl2440bootloader:u-boot-2010.09Cross compiler: buildroot-2012.081.linux Kernel BasicsFirst, Ax. Before we start the Linux kernel migration, we need to understand the Linux kernel.1.1 Linux kernel Boot
A basic network construction--Build a DHCP serverRefer to: http://luzhi1024.blog.51cto.com/8845546/16554431 Modifying the ip:/etc/sysconfig/network-scripts/ifcfg-eth0 of a server650) this.width=650; "src="
First, Introduction Ubuntu Series System Package management tools. Ii. Common directives 1. Query function apt-Cache Search Package Search packages apt-cache show package get information about packages such as description, size, version, and sudo
Look at the software first, then introduce the installation method.
Through can be seen. The software can monitor the CPU, memory, network traffic and other related information in real time, and can even monitor the hardware
Second Speaking:1.startx entering the graphical interface2.shutdown-h now shuts down3.shutdown-r Now restart your computer4.reboot Restart your computer now5.su-Switch to system administrator status6.logout (enter at prompt) user logoff7.VI Editor
1. Kernel introduction and get kernel source code 1.1 what is a kernel
Kernel: the kernel (kernel) is the lowest level of the entire operating system, he is responsible for the entire hardware drive, as well as providing the necessary
This class, this semester we have only one of the three departments of this course, many many many students say why you have to choose this course. Parents also say, why don't you come with the crowd. Someone asked me before, whether regrets chose
1, Command Help Manual (3)--help is a tool option and most GNU tools have this option, and the "--help" option can be used to display information about some tools# command--helpMan can display the contents of the System man page, most of which is an
Linux control statements need to use a variety of conditions, and the conditions are divided into different types.To test an expression:(1) Integer testA-GT B: Greater ThanA-ge B: Greater than or equal toA-eq B: EqualsA-le B: Less than or equal
What is Iptables?
Iptables is a powerful application-layer firewall tool under Linux, but after understanding its rules and fundamentals, it is easy to configure.What is NetFilter?
When it comes to iptables, it is necessary to mention
1. If the crash is in the program, for example SMH kernel:process_name[32183]: Segfault at IP 0000000000412b13 SP 00007fffaab744e0 error 6 in Process_ NAME[400000+6E000]1> can be addr2line-e process_name 0x412b13-f specific to the source of that
1. checkout files to a local directory svn checkout Path (path is a directory on the server)For example: SVN checkout svn://192.168. 1.1/Pro/domainShorthand: SVN co 2 . Add a new file to the repositorySVN Add fileExample: SVN add test.php (
In Linux, using Vi is a solution that cannot be used when the direction keys change garbled back keys.
Editing some files in Linux involves the vi editor. In Linux, when vi is initially used, the cursor is not moved when the direction keys are used
Network Configuration for Linux (Ubuntu)
Modify IP AddressThere are two methods: The ifconfig command and the network-related configuration file.Ifconfig command
Example: sudo ifconfig eth0 192.168.108.54 netmask 255.255.255.0
If the network adapter
Bridging settings and problems for CentOS7 virtual machines
Today, the CentOS7 virtual machine is installed in VMWare WorkStation9.
There are three ways to connect a VM to a Host: Bridging, NAT, and Host Only.
The three modes can be found on the
3. How to release the device memory
Every time you have a good time in the park with your family, the child is doing something very cute. You can pull out your cell phone and start recording ...... The mobile phone displays "insufficient space ". 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