1. Take the/etc/hotplug.d/button/00-button in OpenWrt as an example. /lib/functions.shdo_button () {Local button----defining local variablesLocal actionLocal handlerLocal minLocal MaxConfig_get buttonConfig_get Action ActionConfig_get Handler $
Performance monitoring monitors CPU, memory, diskTop commandCrontab allows the program to execute in the middle of the night and save a lot of things during testing.GDB Common CommandsProcess management view process or close processDisk Management
get rsync-3.1.0 I put one in my net. Address:Http://pan.baidu.com/s/1dDs4lStInstallationrsync-3.1.0.tar.gz#tar zxvf rsync-3.1.0.tar.gz#cd rsync-3.1.0#./configure--prefix=/home/work/rsync#make#make InstallConfiguration file Exampleuse chroot = Nomax
Linux Common Commands--screen
Open a screenThere will be a screen on the machine, which will be named in the default way:$screen -ls There is a screen on: 4087.pts-5.jackson-virtual-machine (01/11/2015 05:33:22 PM)
VI Common Command line1.VI modeA) General mode: VI when processing a file, one enters the file, which is the general mode.b) Edit mode: In general mode can be deleted, copy, paste and other operations, but unable to edit the operation. Press the ' I,
Create a folderGo to the/usr/folder, create a file, I am here the Java folder, copy the Jdk-6u45-linux-i586.bin to the/usr/java folder
Installing the JDKExecute the./jdk-6u45-linux-i586.bin under the/usr/java folder and execute the results
# grep-rn "Looking for text to find".2. Bulk find and Replace file contents.# sed-i "s/to find the text to find/replace the text/g" ' Grep-rl "to find the text"./'---------------------------------------------------------------------------------------
To monitor and control the process, you must first understand the current process, that is, you need to see the current process, and the PS command is the most basic and very powerful process view command. Use this command to determine which
Use command top to view the current time of the system, duration, number of online users, overall load situation, current number of processes,CPU, memory,Swap usage details, using the command ps-aux You can view the detailed status of each process
Experiment two embedded Linux program compiling and debugging
Experimental Purpose:
Learn to use and configure Vim
Mastering the GCC compiler's use
Learn how to use GDB to step through the program
Monitoring windows Systems1, monitoring the pre-connection preparation work1) Enter the monitored Windows System, open the following two services remote Procedure call (RPC) and RemoteRegistry service (start-) operation in the input services.msc,
1. Trust relationship1) Linux trusts Linux:Host 1:ssh-keygen-t RSA(generate key pair)--Enter using defaultscp/root/.ssh/id_rsa.pub [email protected] host 2_ip:/home/ (copy the public key to a host that does not need to be verified)Host 2: Create the.
Linux Regular Expressions and Regular Expressions
Basic Regular Expression
^ The string to be searched by word starts with word
Grep-n "^ a" regex.txt find the row whose first character is a and output the row number
Word $ the string to be
Centos/ubuntujenkins. war self-starting script, Linux Startup stop jar package running case
#! /Bin/sh # chkconfig: 2345 10 90 # description: jenkins .... # This script will be executed * after * all the other init scripts. # You can put your own
Sed in Linux text processing tool
Concept:Sed is an online editor that processes a row of content at a time. During processing, the currently processed rows are stored in the temporary cache, which is called "pattern space". Then, you can use the
How to install the kernel header file on Linux
Q: I need to install the kernel header file before installing a device driver. How to install the appropriate kernel header file?
When you compile a device driver module, you need to install the kernel
X01. OS. 20: compile linux-0.11 on the ubuntu, ubuntu
Why linux
Just as we cannot rely on GPS in the United States to direct our missiles, it is hard to imagine using a computer running windows to conduct an information war with the United States.
Configure Tomcat 7 in MyEclipse10
This is a headache for beginners of Java Web development. I did it a few months ago. Let me tell you how to configure atat7.0.
First, your computer has installed Tomcat and MyEclipse
Next:
Click:
Window, and
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