When you open a file with VI, because the file is too long, how to find the keyword you want to find.
There is no menu-〉 to find in VI
But it doesn't matter, you are in command mode to knock the Pole (/) at this time in the status bar (that is,
The obsession with Linux more and more serious, recently suddenly fascinated with the development of embedded Linux, really is twists, in short, interest, my footsteps will follow where, no stay. Ha ha.
In the library read a lot of embedded Linux
The Linux Input Device is an important subsystem, before the introduction of the actual example, a cursory understanding of the API.
Linux Input Device
INPUT.C is the Linux "input" driver, which mainly supports the input of keyboard and mouse; The
My Apache installation directory in/usr/local/apache there are 2 ways to set up boot
Method One: Cp/usr/local/apache/bin/apachectl/etc/init.d/httpd vi/etc/init.d/httpd
Add the following two lines behind the #!/bin/sh
#chkconfig: 345 85 15
> Ls-alt # by modified time > LS--sort=time-la # equivalent to > Ls-alt > Ls-alc # By creation time sort > Ls-alu # by Access time # All of the above can be used- R Implement reverse order > LS-ALRT # By modified time sort > ls--SORT=TIME-LRA #
1If you can remotely operate, set up SSH service on the serverA, modify the Sshd_config file, the command is: vi/etc/ssh/sshd_configB, remove the comment for #passwordauthentication No and modify the No to YesC, remove the comment #permitrootlogin
Install Oracle under LINUX System1 access to the system with root userSu-oracle when you switch to Oracle, you need to set displayExport Display= Local ip:0.0You can perform DBCA to create a database2 access to the system with Oracle usersYou do not
The previous article introduced the precise timing of the RDTSC directive, although the CPU's frequency is not guaranteed to be fixed, so there are limitations to this approach. In fact, Linux also has a high-precision timer, that is posix_timer. I
CPU is divided into nodes, memory is clustered, each CPU corresponds to a local physical memory, that is, a cpu-node corresponding to a memory cluster bank, that is, each memory cluster is considered a node. The physical memory of the system is
Linux Kernel source Code Analysis-process management and scheduling
http://wenku.baidu.com/link?url=yzMjiwX-ZzlnYZgb8CKG5veDdv6_uTbweFpb0_ lpddf7xyilf4fimm4qcl5-0gsk6snu9krfuqvrzydbl0wlu8rhgilvfms_mpil0hrsb4m
Tasks for Process Management
. Allow a
When the logical address is converted to a linear address, as we said, using the first 13 bits of the value in the segment register as an index to index the global descriptor chart,
in Linux, it is funny that it intentionally uses the numerical to
Linux has a stringify header file, the main contents of which are as follows:
#ifndef __linux_stringify_h
#define __LINUX_STRINGIFY_H/
* Indirect stringification. Doing two levels allows the parameter to be a
* macro itself. For example,
First, let's take a look at the parent process and the subprocess, the previous sections on how to create a subprocess, like this, pid_t id = fork (); So we create a subprocess, but what is the return value of the fork () function? Remember here:
1. Convert the contents of the/etc/issue file to uppercase and save to the/tmp/issue.out file2. Convert the current system login user's information to uppercase and save to the/tmp/who.out file3, a Linux user to the root email, request the message
Step1: Check if SVN Server is already installed.Svnserve--versionStep2: Performing the installation Step3: Creating a code Warehouse Enter the corresponding directory: DescriptionConf: Configuration fileDB: Data Store fileHooks: script, SVN
Add text content by field
A 3B 4C 5A 8D 2C 6
Add the same data as the fields in the above contentawk -F ‘ ‘ ‘{sum[$1]+=$2}END{for(i in sum){print i, sum[i]}}‘ test.txtResults:
A 11B 4C 11D 2
Stitching two text by
I. Purpose of inter-process communication
Data transfer: One process needs to send its data to another process, sending the amount of data between a byte and a few m bytes
Shared data: Multiple processes to manipulate shared data, one
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