Preface * with the development of the entire Internet, there have been countless websites, large and small. As a result, users are increasingly enhancing their website UI and speed experience. For enterprises or individuals, winning the user
Recently, I checked the mysql database server log and found a Table corruption ERROR log, for example, 1207247: 30: 48 [ERROR]/data/soft/mysql/libexec/mysqld: Table '. /blog/wp_links 'ismarkedascrashedandlast (automatic ?) The repairfailed is normal
Introduce Process Control in Shell, such as judgment statements... If statement: first, learn a few knowledge: [-f "somefile"]: Determine whether a file is [-x "/bin/ls"]: determine whether/bin/ls exists and has the executable permission [-n "$ var"]
A question about text editing and drawing in GTK2.0-Linux general technology-Linux programming and kernel information. The following is a detailed description. I created a text editor under GTK2.0 using textview, but at the same time I need to
First, I did not write the script functions here. If you are interested, you can do it yourself. You have not written the shell script for a long time. If you write this script today, you should review it, I have been using python for a long time.
Five common Linux monitoring scripts are provided for you to view the disk space of the host Nic traffic, system status monitoring, and host monitoring, when the usage space exceeds 90%, you can send a mail to send a warning, monitor CPU and memory
The system cannot be started !!!!!!!!!!!! -- Linux general technology-Linux technology and application information. For details, refer to the following section. /Etc/TPD/presession/default: registering your session with wtmp and utmp
Whether USB net is the driver of the wireless network adapter-general Linux technology-Linux programming and kernel information. The following is a detailed description. Recently, I saw an article on Linux kernel and driver programming on the
How to share sub-functions, please help me-Linux general technology-Linux programming and kernel information, the following is a detailed reading. The program in hello. sh is
#! /Bin/bash
Function test1
{
If [$1-eq "666666"]
Then
Ehco "hello,
Shell special variables & #9758; location variables 1 and $0 get the file name of the current script, including the path. # Write a test script vimtest. sh # The content is as follows: dirname $0 basename $0 # execute bash $ (pwd)/test. sh # output:/
Recently, the server room where the company is located is often unable to access the website due to attacks and network faults. In order to be able to know that the website is inaccessible for the first time and quickly solve the problem, tley uses
File SEARCH Command find: The following shows the main application example of the find command:/& gt; ls-l # list the test files contained in the current directory-rw-r --. 1rootroot48217Nov1200
File SEARCH Command find:The following is an example
1. First, cut apache logs by day vi/etc/httpd/conf/httpd. confErrorLog & quot; | rotatelogs/var/log/httpd/% Y % m % derror_log864001_& quot;
1. First, cut apache logs by day
Vi/etc/httpd/conf/httpd. confErrorLog "| rotatelogs/var/log/httpd/% Y % m %
About the problem of printing f output floating point and integer-Linux general technology-Linux programming and kernel information, the following is a detailed description. [I = s] This post was last edited by WinnerLinner at 8-8-3 20:56.
After
Yum source settings-general Linux technology-Linux technology and application information. For more information, see. $ Yum update
Plugin "product-id" can't be imported
Plugin "subrole-manager" can't be imported
Loaded plugins: refresh-packagekit
#! /Bin/basffe [$ 1-gt $2] thenecho & quot; $1 & gt; $2 & quot; elseecho & quot; $2 & gt; $1 & quot; fi # Number judgment commands #-gt is greater than meaning #-lt is less than #-eq is equal to #-ne is not equal to #-ge is greater than or equal to #
Linuxshell get time and time interval (ms level) Description: During some performance tests, sometimes we want to calculate the time for a program to run, sometimes you may write a shell script to control the performance test (such as running N
In the server version of suse10sp3, specify the NIC name -- general Linux technology-Linux technology and application information. For details, refer to the following section. 30-network-name under/etc/udev/rule. d. Rule (this name should be used,
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