Script monitoring:The process that gets the maximum number of handles:Link Analysis:Script fragment:Case"$handle" inch2) echo"The handle of the process:"Echo" "Handle| Awk'{print $ "\ n" \ n "\ $7" \ n " $9" \ n "$11" \ n "}'>Temp forIinch' Cat temp
Each line read by shell from a standard input or script is called a pipeline; it contains one or more commands ), these commands are separated by one or more pipe characters (|.
In fact, there are many special symbols that can be used to
I have heard that dreamhost only supports shell, but it has never been used. It is mainly because it is not very necessary before and has not uploaded many things.
Recently, due to the fact that a large number of files have to be uploaded, the
In the previous. Net encryption principle, the implementation of the method body's encrypted information ing describes the basic problems to achieve the encryption shell,This article introduces how to implement an encrypted shell kernel of the pure
Shell can be extended, shell ExtensionProgramThe following functions can be implemented.
◇ Specific file type, all file types, network neighbors, recycle bin, drive, network shared folder, printer, disc drive, directory, folder background (
1. Description
/Sbin/ldconfig-configure dynamic linker Run-Time Bindings
Ldconfig Option
2. Option
1)-P: indicates that ldconfig prints the names of all the shared libraries saved in the current cache file.
2)-V: ldconfig displays the
1. Description
Strace-trace system CILS and Signals
2. Option
1) strace-p pid tracks a background process
2) strace-O filename outputs the trace result to the file
3) strace-T records the time spent on each system call. You can see which
You can execute multiple commands at a time in the command line, including the following: 1. Use between each command;SeparateNote: The execution of each command does not affect the execution of other commands. In other words, each command is
I have learned shell scripts before, but it has never been used in my work. To prevent repeated startup of PHP scripts, I need to write a shell,
What I learned was finally used. I wrote this script with the knowledge points I remembered. I want to
There are three common file descriptors in shell programming:0: stdin, standard input. The default value is the keyboard input.1: stdout, standard output. The default value is screen output.2: stderr, standard error output. The default value is
Sometimes you can write your own gadgets and prefer non-graphic interfaces. However, some applications still bring up a reminder to let you know.
Zenity is a very handsome thing. For its usage, refer to its -- help. I will not repeat it here. Here
[This is Android embedded learning series I]
Although I have been using Linux for more than a year, I do not know many principles. Now, let's take notes on learning Android embedded courses with sundy.
Shell is actually an interface for user
Note: The subscript of the array in shell starts from 0 by default.
1. Place the string in an array to obtain its length.
Copy codeThe Code is as follows :#! /Bin/bash
Str = "a B -- n d"
Array = ($ str)
Length =$ {# array [@]}
Echo $ length
For (I
Both $ * and $ @ provide quick access to all parameters, both of which can store all command line parameters in a single variable.
$ * The variable saves all the parameters provided on the command line as a single word and is treated as a single
I. Command Format
Gawk options program file
Gawk options:
-F fs specifies the file delimiter used to describe the data fields in a row
-F file: Specifies the file name of the reader.
-V var = value defines the variables and default values 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