ArticleDirectory
Parameters
Example
Tips
Display the directory of the system command
WhichCommand-list
Parameters
Command-listYesWhichOne or more search commands (practicalProgram)
Example
Which single command
Doxygen is a powerful functionCodeDocized tools, which are used by boost, opencascade, and many other projects as the best candidates for document generation.
It has a set of standard code annotation standards. If developers use such standards in
ArticleDirectory
Parameters
Option
Example
Replace the specified character
Tr [Options]String1 string2
Parameters
TrUsually there are two parameters:String1AndString2, WhenTrDiscovery andString1When there are matched
ArticleDirectory
Parameters
Option
Example
Search Mode in file
Grep [Options]Pattern[File-list]
Parameters
PatternIs a regular expression,File-listIsGrepList of path names of common text files to search
Option
-C
Struct sockaddr {Unsigned short int sa_family;/* address family, af_xxx */Char sa_data [14];/* address */};
Sa_family is the address family in the form of "af_xxx. "Af_inet" stands for the Internet (TCP/IP) address family.
Sa_data is the
ArticleDirectory
Option
Example
TIPS:
Display or set the CMOS time
Hwclock [Options]
Option
-R: the default option. Read and print the CMOS time.
-S: Set the CMOS time to the system time.
-W: set the system time to
ArticleDirectory
Parameters
Option
Example
Tips
Displays information about the directory hierarchy or file disk usage.
Du [Options] [Path-list]
Parameters
Without any parametersDuDisplays the disk usage information of
ArticleDirectory
Example
Tips
Terminate a process based on a PID
Kill [Option]PID-list
Kill terminates a process by sending a signal to one or more processes. Only the owner of a process can kill a process.
Parameters
We know that root users are very important in Linux, and their position is like Adminstrator in windows.
With the root permission, we can modify the passwords of other users. But what if the root user's password is lost?
Don't worry. The
Include header file, link database, system definition, there are a total of the following sources designated GCC to find.
The ~ Gcc/GCC/collect2.c: locatelib ()
Written in specs
Later, it was specified with-d-I-l.
GCC environment variable
[Linux] read one character at a time from the console, without waiting for the Enter key
Zhou yinhui
You can use functions such as getchar () and getch () to read characters, but they all need to wait for the Enter key to end the input, instead
Interesting Linux Command Line Functions
1. Linux "SL" command line
Although "SL" represents "Steam Engine Head", it is used to remind command line controllers not to turn "ls" into "SL ". Let's see what happens when we run this command in the
1. Install JDK
Download JDK directly from Sun: The http://java.sun.com/j2se/1.4.2/download.html provides two downloads:
1. rpm in self-extracting file (j2sdk-1_4_2_04-linux-i586.bin, 32.77 MB) This is a self-extracting file, installed on Linux
I tested the installation on Ubuntu. Although I haven't started development yet, I may be able to use it right away.
Because the user environment in the future is not Ubuntu, the apt command is not used when Apache is installed.
1. Go to the
6. slab layer
To facilitate frequent data distribution and recovery, the Linux Kernel provides the slab layer (the so-called slab distributor ). The slab distributor plays the role of the cache layer of the general data structure.
The slab layer
ArticleDirectory
Modify permissions in digital notation
Modify permissions in text notation
I. Linux File Permissions
Each Linux file has four types of access permissions: readable (R), writable (W), executable (x), and
I recently studied the Linux Kernel Time subsystem to prepare for the next article titled "Date and Time in server programs". I accidentally noticed the impact of several new Linux system calls on writing server code, it is recorded here. This blog
Some time ago, I was tracking the problem of an RDP application. After the RDP application is processed by a device transparent proxy, the speed of the application is much slower than that of the device transparent proxy, at least half. It is too
In short, the linux system startup process is as follows:
1. Load BIOS hardware information and perform self-check, and obtain the first enable device based on the settings.2. read and execute the first Boot Loader (grub, spfdisk, and other
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