Shell Trojan Kill is the first specifically designed for online games anti-theft number tailored to the completely free Trojan kill software, pure green, installation-free, volume only 373 KB, very lightweight, suitable for users to download the use
1.test statement
The test instruction is used when I want to detect that some of the file rings on the system are related attributes.
(1) The file type judgment about a filename, such as TEST-E filename indicates existence
-e Does the file name
• Simple shell programming: Shell variables◦1 System Variables◦2 Shell User Variable2.1 Foundation2.2 Use TipsAn array in the 2.3 shell◦3 Shell Environment variablesInstead of the shell version, look at the shell variable, there are three kinds of
One of our clients was attacked in Saturday, our network monitoring shows a 6 consecutive hours of huge abnormal traffic, we immediately contacted the customer, did not get a response, we modify and limit the customer's VPS, so that individual VPS
Recall a thing: Before using Linux to find Chinese input method, in Baidu entered the FCITX, and then the result has a, you are looking for is not: satirical Tencent. Originally can not remember this input method name, but later brother remember
Sometimes in order to test the network situation, it takes time to return each phase, such as DNS resolution, time spent establishing a connection, the time it took to establish a connection to the preparation of a transmission, the time spent
Create a text menu create a menu layout
root@wl-ms-7673:/home/wl/Desktop/shell# cat-n test1.sh
1 #!/bin/bash
2 echo-e "\t\tmenu"
3 ECHO-E "1.\tdisplay disk Space"
4 echo-e "2.\tdisplay logged on user"
I've been writing a script for the last two days and learned three days, then wrote two days of time, feeling OK, also not very difficult, is some things are not ripe, feel the shell inside some processing and C voice difference is quite large, I
First, the preface
In the Windows Explorer window, we have seen software such as Winzip,winrar can add a few menu items to the default shortcut menu in a file or folder, which allows users to operate directly in the windows without having to go
Theoretical part:1, in a simple script, each of the statements executed sequentially, so as to achieve automated management,Sequential single execution is too mechanized, not "smart" enough to achieve more flexible system tasks.Example: Bulk Install
Environment VariablesThe --bash shell uses environment variables to store system-related data and allows data to be stored in memory. Environment variables are divided into: Global environment variablesLocal environment variables
24, pipe and job control, shell variables, environment variable configuration fileOne, pipe and operation controlPipe Break: | Indicates that the contents of the previous file output are passed to the following command.|grep: Filter, specify the
Shell Special Symbol Cut command
Special symbols* wildcard characters, any of any character? Any one character# comment Characters\ de-Semantic charactersC=\ $a \ $bEcho $c| Pipe characterCat 1.txt |lessCat 1.txt |moreCut intercept stringShow
Note: The comparison string in the shell can only be used = =, ,! =,-Z,-N. When comparing strings, be sure to add X (or a, B, etc.) to the end of the string, because if [$1x = = "AB" x] If there is no X, and "" ", this statement will be translated
8.1 Shell Introduction: Interaction between the converters1. Shell is a command interpreter that provides interaction between the user and the machine2, support specific grammar, such as logical judgment, loop3, each user can have their own
Customize the Prompt Custom tipsModify the content of the prompt by setting the variable in the prompt mongo shell. The prompt variable can hold strings as well as JavaScript code. If prompt holds a function that returns a string, the mongo can
One, single and double quotation marksFirst, both single and double quotes are meant to solve the problem of having spaces in the middle.Because the space in Linux as a very typical delimiter, such as String1=this is astring, so execution will be
Today we learned the Bash feature multi-command execution includes a logical relationship between the various commands. It contains the execution of the "and" or "not" commands. The following is the relationship between these logical command
Shell learning: Shell echo, printf, test command, echotestShell learning: Shell echo, printf, test command Shell echo command
Show normal strings
echo "hello"
Output: hello
Double quotation marks can be omitted as follows:
echo hello
Output:
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.