In Linux, there are linuxthreads and nptl. nptl is more advanced than linuxthreads. Currently, the new kernel supports ntpl and the corresponding glibc is also supported. In the case of an old machine, linuxthreads is used. Although the two are
Modify Linux kernel boot logo and center full screen display
1. Prepare Images
Using the Graph Software gimp that comes with Ubuntu is the fastest way to convert images. You can also use commands to convert images. In actual testing, an error is
Abstract:
1. Open the function to be implemented in the serial port function open_port:(1) Open ("/dev/ttys0", o_rdwr | o_noctty | o_ndelay);/* Open the serial port 0 */(2) fcntl (FD, f_setfl, 0)/* restore the serial port to the blocking status */(3)
1. The underlying task management and driver of Android are based on the Linux system;
2. The file system used in Linux is very different from that used in Windows (storage file system). The root file system (rootfs) is used, which has the following
Reference:
3 proxy re-Exploration-achieve second-level proxy Internet access
Set up HTTP proxy and socks proxy (UBUNTU) on VPs with 3proxy)
3proxy is an open-source lightweight proxy server software developed by Russians and has powerful functions.
From:
Http://yangzhongfei.blog.163.com/blog/static/461098752010314105937739/
The two Linux systems directly copy files. If you log on to the graphical interface, it is relatively simple to create a samba shared copy.
However, it is more
WgetIs a command line tool for download in Linux. It is suitable for downloading files in shell or batch downloading files.
A common function is to download all files under a certain directory of a Website:
Wget-r-NP-K-l-C-P http://site.net/dir/
Dynamic Link Library is a common software component technology that provides basic services in a variety of operating systems. For example, the Win32 kernel is composed of several DLL files. This technology is also implemented in the Linux operating
I. Definition:
StructThe file struct is defined in/Linux/include/Linux/fs. H (Linux2.6.11 kernel), its prototype is:
721 struct File{ 722 /* 723 * fu_list becomes invalid after file_free is called and queued via 724 *
Daemon is running in the background
Is a special process. It is independent of the control terminal and periodically executes a task or waits to process some events. Daemon is a very useful process. Most Linux servers are protected
Process
How to compile the Linux kernel? I believe you will get many different answers, and I always get some compilation errors before writing this article.
How do you always encounter compilation errors or failures? In many cases, the problem is that
IPMI (Intelligent platform management
Interface) that is, the management interface of the smart platform is a new generation of common interface standards that make Hardware Management "intelligent. You can use IPMI
Monitor the physical
1. Basic concepts of shared memory segments
Shared Memory is a memory area shared by several processes. It can be said that it is the fastest form of IPC, because it does not need any intermediate operations, it just maps the memory segment directly
Linux treats all file systems from the perspective of a set of common objects. These objects are superblocks, inode, and dentry.And files. The super block describes and maintains the state of the file system on the root of each file system. Each
(The Add # command must be operated under the root user permission)
1. Shutdown and restart1) # init 0 restart # init 6 Shutdown (change the system running level)2) # reboot restart # halt Shutdown (command method)3) # showdown-H + 5 (shutdown in 5
# Include Time_t time (time_t * calptr)This is a string of numbers pointed to by the Basic Framework pointer of the time function in milliseconds.
Use the following two functions to convert the Standard Time# Include Struct TM * gmtime (const time_t
Repair guide:
Apt-Get install grub
Grub
Find/boot/GRUB/stage1
Root (hd0, Y)
Setup (HDO)
Super User Switching, often enter the correct password cannot switch over, use this command: Sudo-S
Install Deb and RPM software:
Dpkg-I ^. Deb
The file system displays Chinese characters:
Configure the Kernel support encoding:
*-Native language support --->
Simplified Chinese charset (cp936, gb2312)
NLS UTF-8
Change the default character in the file system to the blue part.
File systems --
Although the logical relationship between historical events and Linux is not close at all, any aspect will undoubtedly be of great help to beginners. Some practical experience in source code analysis is explained in the same way as in the Windows
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