Reprinted from: http://blog.sina.com.cn/s/blog_3d24e30d01000b41.html
After Red Hat Enterprise Linux as3.0 is installed on my t60, the default resolution is 800*600, while that of my t60 is 1400*1050. Therefore, I would like to properly set the
Linux Cal commands
Usage: Cal [-mjy] [month [year]Note:Display calendar. If there is only one parameter, the year (1-9999) is displayed. The year must be written in full: ''cal 89 ''will not display the year 1989 region. Two parameters are used to
1. Read system call
Once a file descriptor is connected to an open file description, as long as the file is opened with the o_rdonly or o_rdwr mark, you can use the read () System Call to read bytes from the file.
Function prototype:Ssize_t read
I. sequential program and concurrent program features
Sequential program features
SequenceClosed: (closed runtime environment)CertaintyReproducibility
Concurrent program features
SharingConcurrencyRandomness
2. Process mutex
1. Because
1. We mentioned the concept of process mutex when talking about inter-process communication. Below we will write a program to simulate the process, for example:
That is, the parent process prints the character o, the child process prints the
I. Concepts of terminals
In a UNIX system, a user logs on to the system through a terminal and obtains a shell process. The terminal becomes the controlling terminal of the shell process. The control terminal is the information stored in the PCB, we
I. sigqueue Function
Function: a New System Call for sending signals. This function is mainly used for supporting signals with parameters proposed by real-time signals and works with the function sigaction.Prototype: int sigqueue (pid_t PID, int Sig,
I personally prefer iftop, which dynamically uses a simple ASC diagram to identify the current traffic of the NIC.The first line is the network traffic scale,The center is the traffic with other machines. There is a white bar that intuitively
/* Only pay the header file here. If necessary, download the file from my resources.
Http://download.csdn.net/detail/ta893115871/4322905
O (∩) O Thank you
Currently, the following functions are available:
1. group chat
2. Private Chat
3. login
Linux debugging includes user-layer debugging and kernel debugging. The main tools used include GDB and kgdb.
This article focuses on the working principle, key technologies, and differences in platform dependencies of the debugger in Linux
At present, the problem of encoding conversion is often encountered in the environment, UTF-8 and gb2312 also have problems. You have to install the gb2312 character set on Linux (zh_cn.gb2312 in Linux). For details, see the following.
Several i18n (
Overview
This article describes four functions related to Linux character device registration: cdev_alloc, cdev_init, cdev_add, and cdev_del. These four functions are defined in the file fs/char_dev.c and declared in the header file
System Environment: Ubuntu destop 11.10
At that time, I needed to see the normal Serial Output and output the serial content to the file in real time.
Next we will focus on two main tasks: 1. Installation 2. Configuration
I believe that everyone
When you use the command line, you have a lot of time to find the files you need. Shell provides a set of complete string mode matching rules, or metacharacters, so that you can match files in the required mode. You can also use the character type
Definition of awk
Original Meaning: Aho, Weinberger, kernighan
Definition: three creators, Aho, Weinberger, and kernighan
Awk Introduction
Awk is an excellent text processing tool. It is not only one of the most powerful Data Processing engines in
/*** The Linux Tun sample code comes* Timeout* Http://blog.csdn.net/Z_man/archive/2009/05/26/4216530.aspx* If a tun0 virtual network card is created for communication, the program will disappear after it is closed.* Ping 10.0.0.1*
Due to the unreasonable design during system installation, the rapid growth of log files due to network communication faults, and other reasons, such as the full disk space, may lead to the inability to read and write disks, the application cannot
If you have installed Windows and Linux, It is a headache to delete Linux later. Because MBr has been taken over by Linux, the purpose of this article is, simple to Uninstall Linux perfectly.Use mbrfix.exe to uninstall Windows dual-system Linux
You
Socket send error
(15:50:53)
Reprinted
Tags:SocketSendIt
Research on sigpipe and related errno in socket Data TransmissionI haven't done c development for a long time, and recently I have been focusing on old business.I heard
When the Linux kernel is transplanted between platforms with large differences in architecture, problems related to data types will occur. Use the-wall-wstrict-prototypes option when compiling the kernel to avoid many errors.
The kernel uses the
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