1. View apache concurrent requests and their TCP connection status netstat-n | awk '/^ tcp/{++ S [$ NF]} END {for (ainS) printa, S [a]} '2, displays the 10 processes that consume the most memory/CPU psaux | sort-nk + 4 | tail3, find the 10 most
The Escape Character is extended to the... \ a bell character \ B Escape Character \ eANSI escape character, which is equivalent to the escape character \ 033
Escape characters
Extend...
\
Ringtone
\ B
Escape
Shell string truncation rules: & #8226; $ {# parameter} Get the string length & #8226; $ {parameter % word} to the minimum extent, extract word from the back & #8226; $ {parameter % word} captures word & #8226; $ {parameter # word} at the backend to
The break command can contain one parameter. A break loop without a parameter can only exit the innermost loop, while breakN can exit the N-layer loop. The continue command can also contain a parameter. A continue command without a parameter only
Loop Control-for Loop syntax structure 1 forVariableinListdocommands & nb
Loop Control-for Loop
Syntax 1
For Variable in List
Do
Commands
Done
Syntax structure 2
For Variable in List; do
Commands
Done
This List can be a List, variable, command, etc.
Federa starts to fix the problem. Urgent: Linux general technology-Linux technology and application information. The following is a detailed description. I have installed fedora16 from the hard disk and deleted the 10 Gb partition used to install
Data backup is required for any online e-commerce site. Regardless of version updates or server migration, the importance of backup data is self-evident. Manual data backup not only consumes a lot of time and effort, but is not very professional. As
Ask about the system clock-Linux general technology-Linux programming and kernel information. The following is a detailed description. Today, we can see that the current time of the system = the time of the last bottomhalf runtime xtime +
LAMP refers to the web servers built in Linux (operating system), Apache (HTTP server), MySQL (database software), and PHP. This website architecture is currently a popular and common Web architecture. It has advantages such as LAMP cross-platform
Data storage (assume key is test, value is 12345) printf "settest005 \ r \ n12345 \ r \ n" | nc127.0.0.112000STORED data retrieval (assuming key is test) pri
Data storage (assuming the key is test and the value is 12345)
Printf "set test 0 0 5 \ r \
Linux schedules tasks and automatically deletes old files n days ago. linux is a system that can automatically generate files, such as logs, emails, and backups. Although hard disks are cheap now, we can have a lot of hard disk space to waste these
MichaelStutz, author of TheLinuxCookbook, summed up 10 good habits based on years of UNIX experience. I personally think it is really useful. The following is a summary of this article. 1. create a hierarchical Directory: Use the-p option of mkdir,
Catdisk. sh #! /Bin/bashforiin 'df | sed1d | awk & #39; {print $5} & #39; | sed & #39; s/% // g & #39; ##### compare the loop size after obtaining #### doif [$ i-gt10] ### here the threshold value is set to 10, to facilitate the test result ###
An error occurred while compiling the software. For details, refer to probalign-general Linux technology-Linux programming and kernel information. Jack @ jack-desktop :~ /BioI/probaligngui_beta_1.1 $./install. sh
Make: Go to the
After compiling the kernel, start kenerlpanic: VFS: Unabletomount -- Linux general technology-Linux programming and kernel information. For details, see the following. After I compile the kernel, I modified menu. lst of grub. After the kernel is
PS: the original intention of writing a script is to facilitate your work more efficiently and exercise your ability to write a script. Of course, I hope it will bring you some small help, I hope you can provide more support, comment, and point out
For more information, see Linux general technology-Linux technology and application. I am a little white, but I really want to learn computer technology, especially programming, proficient in coding, and network technology. I checked related
Task: Find the file name of all PNG files under the folder, copy xxx.html to file name .html, and replace xxx in xxx.html with the file name ls | grep.png | sed & #39; s /\. png \ * // & amp; #39; |. /cp. shcp. shwhilereadipdosed & #39;
VPS was used a few months ago, with a traffic limit of GB per month, which is enough for convenient traffic. However, due to some malicious access, resources such as CPU and Memory consume a lot, as a result, the response time of a blog website on
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