There are two benefits to using shortcuts:
1. sense of accomplishment!
2 efficiency!
Stop your work and learn the best skills in one second. You can do it in five minutes!
"Brown bold" indicates "recommended "!
CTRL-A is equivalent to the
Name: less
Permission: All Users
Usage: less [Option] filename
Note:The role of less is very similar to that of more. It can be used to browse the content of text files. The difference is that less allows users to scroll back to browse the
// Ifconf is usually used to save all interface information// If. hStruct ifconf{Int ifc_len;/* size of buffer */Union{Char * ifcu_buf;/* input from user-> kernel */Struct ifreq * ifcu_req;/* return from kernel-> User */} Ifc_ifcu;};# Define ifc_buf
Cause: the handle is used up.
This can be caused by the following situations:
1: The file handle is not closed, including common files, socket descriptors, and database connections.
2: although all handles are released, they are not manually
Date: 2009.05.08
Content: file I/O
General description of available file I/O functions: open files, read files, write files, etc. file I/O generally includes five functions: Open/read/write/lseek/close
The function described in this section is often
Many people always ask this question, so here is a summary document for your reference.
Is the document originally in http://www.armjishu.com/bbs/viewtopic.php? Id = 158
Here, we must first describe that the following steps are for Linux systems and
When files are frequently accessed in Linux, the physical memory will soon be used up. When the program ends, the memory will not be released normally, but will always be used as caching. It seems that many people are asking this question, but they
Log on to xmanager on Linux as4
Xmanager is an easy-to-use high-performance X server software running on Windows platforms. It can seamlessly bring remote Unix/Linux desktops to your windows, even after your computer is on the Intranet or firewall,
3. Mount the disk array to the Linux System
[Root @ database1 ~] # Fdisk-l
Disk/dev/SDA: 146.9 GB, 146999869440 bytes255 heads, 63 sectors/track, 17871 CylindersUnits = cylinders of 16065*512 = 8225280 bytes
Device boot start end blocks ID
View the time zone: # Cat/etc/sysconfig/clock
View System Time: # date
Modification date: # date-s 25/10/2012
Modification time: # date-s 21:45:36
Use the ntpdate command to automatically synchronize time. You can find the relevant
Waitpid system call]Function Description:Wait for the process to change its status. Which of the following calls are used to wait for the sub-process status to change and obtain information about the sub-process whose status has changed. Status
Apache concurrent connections and bandwidth control in LinuxThe stability, security, performance, and low price of Linux + Apache are gaining more and more market share. More and more friends are using Linux + Apache as website servers, while Apache
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
Detailed explanation of Linux fork-understand the collection # Include ;# Include ;
Main (){Pid_t PID;PID = fork ();
If (PID Printf ("error in fork! ");Else if (pid = 0)Printf ("I am the child process, my process ID is % d/N", getpid ());ElsePrintf (
The header file directory contains a total of 32. h header files. There are 13 main directories, 4 sub-directories in ASM, 10 sub-directories in Linux, and 5 sub-Directories In sys. The respective functions of these header files are as follows. For
Document directory
Release cache memory in Linux
Release cache memory in Linux
Careful friends will notice that when you frequently access files in Linux, the physical memory will soon be used up. When the program ends, the memory will not be
0. Reference Materials
Zheng Peng, Zeng Ping, editor-in-chief of Ding Jianli, and Wuhan University Press1. Basic Linux commands 1.1 General Format of Linux commands
The general format of Linux commands is as follows:
Command name [Option]
My testing machine has many problems. Previously, safe cannot be installed, and staf cannot be installed. Man cannot be used now ......
It turns out to be
Man man fgets: no such file or directory Error reading man
In Windows, the default mode is GB encoding, while in VIM mode, the default mode is UTF-8 (gedit is also UTF-8 by default. Modified the configuration file so that vi supports the GB encoding.$ VI ~ /. VimrcLet & termencoding = & EncodingSet
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