Shell text filtering (grep) Classification: Linux Shell script LearningRead by 588Comment (0)FavoritesReport Shell Regular Expression extension tool Storage Grep (Global Regular Expression version) allows Pattern searches for text files. If the
The Bourne shell
when Unix was first born, it had a very basic shell written by Ken Thompson, one of the creators of UNIX. the Bourne shell was written by Steve Bourne in 1979 as a Scriptable Unix shell. all other shells have a prefix to qualify
Function Description: search for and display user information.
Syntax: finger [-lmsp] [account name...]
In Linux, the finger command is used to query the login account information on a host. The user name, main directory, stagnation time, Logon
1. Description
Tr-translate or delete characters
Tr [Option]... set1 [set2]
Translate, squeeze, and/or delete characters from standard input, writing to standard output. Sets are specified as strings of characters.
TR is used to convert
AIX shell skills
1) command completion and history command function: set-o vi and then use (ESC \) to complete the file name in the command, use (ESC +) to view the historical command list, and use (ESC -) use the previous command.
You can use esc
Author: Leal
Authorization license:
Create sharing agreement
GNU Free Documentation License
Edited by: firehare, dbzhang800
We can use any text editor, such as gedit, kedit, emacs, VI, to write shell scripts. It must start
Currently, the. NET encrypted shell Runtime Library is loaded in two ways.
One of the most widely used is
Direction
Program Centralized loader Injection
Code And then add a static constructor for each type in the Assembly. Call the loader code
Set in Shell
In bash, export TZ = "Europe/Moscow" date-u-s "2011-10-29 21:55:00"Setenv TZ Europe/Moscow in cshell
Program(Also set environment variables)
In Linux, change the time zone and take effect immediately.Setenv ("TZ", "Europe/Moscow",
Part 1ArticleI said that in order to change users' criticism on their console interface, Windows Vista started and planned to change this situation.
The appearance of powershell.
1. compatible with shell commands
To be compatible with
(Reprinted)
Shell variables include local variables, environment variables, location variables, standard variables, and special variables.
2. 1. the local variable used in the life cycle of the shell script (that is, logging on to a shell to exit,
ADO componentFrom: http://hi.baidu.com/meijun1234/blog/item/9b642ec24efd1130e5dd3bbd.htmlFor example, the system disables ADODB. Stream.
Used in ASP
Server. Createobject ("ADODB. Stream"), an error is reported.
Microsoft VBScript runtime error
========================================================== ==========This article is the original khler, and the original author information and the original link of this article must be kept completely and completely reprinted.
Author:
Write shell program
Execute shell program
Shell programs have many features similar to C and other programming languages, but they are not as complex as programming languages. A shell program is a series of Linux commands and utilities stored in a
Document directory
Function Definition
Return Value
To put it simply, the popen () functionFunction Definition
#include FILE * popen(const char *command , const char *type );int pclose(FILE *stream);Function Description
The popen () function
One command alias settings: alias, unalias
Command alias is a very interesting thing, especially when your usual command is very long! In addition, you can add predefined attributes to some common commands to prevent accidental file killing! For
Chapter 3 condition statements
Directory
7.1. Introduction to if
7.1.1. Summary
7.1.2. Simple Application of if
7.2. More advanced if usage
7.2.1. if/then/else Structure
7.2.2. if/then/elif/else Structure
7.2.3. if nested statement
7.2.4. boolean
Category: Program
WshShell object
ProgID Wscript. Shell
File Name WSHom. Ocx
CLSID F935DC22-1CF0-11d0-ADB9-00C04FD58A0B
IID F935DC21-1CF0-11d0-ADB9-00C04FD58A0B
The following table describes the properties related to the WshShell object.
Attribute
Mycommand> mylog.txt 2> & 1 should be the most classic usage.
Command results can be output in the form of "%>", % indicates the file descriptor: 1 indicates the standard output stdout, and 2 indicates the standard error stderr. The default value of
Shell Program Design (2) Shell syntax Variables
In shell, variables do not need to be declared before they are used. By default, variables are stored as strings, even if they are assigned numerical values. Shell and some tool programs convert
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