1. "/bin", "/sbin", "/usr/bin", "/usr/sbin", "/usr/local/bin", and other paths are already in the system environment variables. now, if the executable file is in these standard locations, enter the file name and parameters of the executable file in
Reference material: linux complete description
Online materials
! The setup program is mainly used to read machine system parameters by means of rom bios interruption and save the data in 0x90000.! The starting position (overwrite the position
Introduction to thread-based API development on Linux
Multi-thread development has mature pthread library support on the Linux platform. The most basic concepts involved in multi-threaded development include three main points: threads, mutex locks,
Http://linux.chinaitlab.com/SHELL/791329.html
In the GUI, a routing tool can display network traffic. What should I do under the command line?
Obviously there are some methods. For example, ifconfig will have such output:RX Bytes: 1224128649 (1.1
Linux system information is stored in files, which are similar to common official files. Each file has its own name, content, storage address, and other management information, such as the user and size of the file. A file can be a letter, an
Recently, I started to use Linux programming. In the past, I only had the C ++ programming basics for Windows, and I was very unfamiliar with Linux. Therefore, I learned everything from scratch.
To do well, you must first sharpen your tools. The
1.View the file and folder size in LinuxDF, Du, and LS-lH commands;
View the disk partition table tool fdisk-L;
2. Clean up system garbage in Linux
Error
Rm-F logfile
Cause
If the application has opened the file handle and directly deletes it, the
When you need to read and write a large volume of data in the user space, this will be used.
Http://www.yuanma.org/data/2006/1207/article_1916.htm from:Assume that we generate a buffer in the kernel, and the user can
Read, write, and other system
There are two machines in the LAN. The two machines can communicate with each other without any firewall. The IP addresses of the two machines are a: 192.168.1.240 B: 192.168.1.102. Suppose A, ssh of machine B allows root logon settings to
Hardware Platform: fl2440 Development Board
Kernel version: 2.6.28
HOST: Ubuntu 11.04
Kernel version: 2.6.39
Original works, reprinted please indicate the source http://blog.csdn.net/yming0221/archive/2011/06/24/6566551.aspx
I thought the size of
Establish an embedded Linux development environment
[Lab content]
Use the crosstool-0.43.tar.gz script toolkit to create your own cross compiler. This compiler can compile the u-boot-1.3.1, linux-2.6.22.6 kernel.
[Lab environment]
1. ubuntu8.10
LinuxThe difference between memory buffer and cache in the operating system is as follows: Let's start with the free command.
Compared with top, the free command provides a more concise view of the system memory usage:
$ Free
Total used free shared
I. IntroductionGenerally, the link to the function library is completed during the compilation period (compile time. All related object files and libraries are linked to form an executable file ). When the program is running, it has nothing to do
Write a simple hello. c
# Include "stdio. H"
Void
Hello (const char * name)
{
Printf ("Hello, % s! /N ", name );
}
$ GCC hello. c
/Usr/lib/GCC/x86_64-linux-gnu/4.4.5/.../../lib/crt1.o: In function '_ start'
:
(. Text + 0x20):
Asynchronous notification for Linux Device Driver Programming
The combination of blocking and non-blocking access and poll functions can better solve the reading and writing of devices, but it is more convenient if asynchronous notifications are
Notes on "proficient in unix c language-programming and project practice"
1. Database category
The library can be divided into static library and dynamic library.
A. Static Library
The static library code is linked to the application during
The following content is from beginning Linux Programming
/Dev/tty points to the current terminal or current login session, which can be operated like a file
Code: menu1.c
# Include # Include Char * menu [] = {"A-add new record ","D-delete record ","
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