Solve the problem that up may access a non-existent data structure (release the semaphore after down): see in depth 3, page216-217.
1. completion () corresponds to up ()
2. wait_for_completion () corresponds to down
Unlike semaphores,
First, you can set the date by using sudo date-s 17:17:00 Super User.
If you want to change the time zone, I think of a stupid way: Modify ~ /. Bashrc, add a sentence in the appropriate position
TZ = CST; export TZ
TZ is the abbreviation of
When log4j is used, Chinese characters are displayed normally in the win system, but Chinese characters are garbled when published to the Linux system.
Because the encoding format (encoding) is not set in the log4j configuration file, log4j uses
VI filename: open or create a file and place the cursor at the beginning of the first line
Vi + N filename: open the file and place the cursor at the beginning of line N
Vi + filename: open the file and place the cursor at the beginning of the last
There are many articles on Chinese input on the Internet. Here I just want to streamline some concepts.
1. Input Method platform:In Windows, the input method and the input method platform seem to be unclear. In Linux, their concepts are well
1. Create a new file: Touch filename2. The one before the File Permission represents the file type.D directoryL Symbolic Link (pointing to another file)S socket FileBlock B Device FilesC character Device FileP name MPs queue File-Common files3.
Server:
1. Install vnc4server
To avoid strange bugs, log out of the account after installation (although I log on to the account, I can remotely control it)
Client:
1.10.04 open the Internet Remote Desktop viewer in the upper left corner. In
By Kerberos Source: http://www.linuxsir.org/bbs/showthread.php? S = & threadid = 41787 & perpage = 15 & pagenumber = 2 recommended learning path: first, learn the editor, Vim, emacs, and everything. Then, learn to make file. You only need to know a
Recently, to debug your own program, some basic GDB Debugging commands recorded previously cannot be issued.
Example: if there is a test. c file, how can I debug it when a running error occurs.
GCC test. C-o Test
Here, only the test executable
Linux has seen significant growth
Kls: last year, with the popularity of OpenOffice and Firefox, Linux has made progress in the desktop operating system market. Do you think Linux is about to become a mainstream desktop operating system?
Lt A: I
Based on Linux 2.6.30 Kernel
Conforms to the Linux driver architecture model
The page read and write operations for 24c08 are optimized.
Fully simulates the file read/write mode and supports lseek operations.
This Code contains the device address.
Fuser: process is represented by a file or a set of interfaces.
Purpose: The Fuser command represents a process using a file or a set of interfaces.
Usage: fuser [-A |-S |-C] [-4 |-6] [-n Space] [-K [-I] [-signal] [-muvf] Name...
Or Fuser-l
Or Fuser-
AliasAlias the command.Eg:Alias LL = 'LS-al'
The use of alias on the terminal is only available this time. The definition of Alias is usually placed in. bashrc under the user's home directory, using vi ~ /. Bashrc check whether there are several
A redhat9.0 redhat9.0 is installed on the Virtual PC. As a result, after hard installation, the system displays a screen.
In this case, I found some solutions on the Internet, which worked very well. This is the simplest method I think.
I:In
The latest reply, the statement before reading the post:# Bianbian posted on 20:25:56 IP: Unknown, 218. 94 .*
Hello, I am the original author. All I said is applicable to Linux running server without X environment. The release version I
To shut down the Linux Command, you must first switch to the root user.
1. Direct Shutdown
Shutdown-H now
2. Shut down in three minutes
Shutdown-H + 3 [+ 3] indicates shutdown in three minutes
3. Shut down in three minutes and display
Common compressed file extensions in Linux:
* Files compressed by the. Z compress Program (used at the earliest stage) are compressed to replace the source file;*. Zip is a file package program on the exaggerated platform. It is applicable to
This article only describes the role and understanding of the condition variable pthread_cond_t. The function has been provided in other articles.
An obvious disadvantage of mutex is that it has only two States: Locked and non-locked. Conditional
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