Wscript. Shell and Shell. Application are mainly used through the WebProgramWhen you call the EXE program, this permission is very large. A general website cannot use this service, but if it is used by hackers, it can gain more permissions, which is
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
1. Host
1) DNS lookup Utility
Host option {name} [server]
Use/etc/resolv. confMedium serverAs the source of the DNS server
2) Option
-A: lists detailed host name settings for this host.
3) Example
Host www.google.com
2. NSLookup-
The dollar sign ($) is often used in Linux. The following is what they represent:$0 shell command itself (including the full path)$1 to $9 indicates the shell Parameters$ # Number of parameters passed to the script$ * Display all parameters passed
Recently, a Web management system needs to be developed to execute service scripts on a remote Linux host through web control.
This tool is packaged into a jar file: ganymed-ssh2-build210.jar, which can be downloaded at
Source: Old Boy's Linux blog Author: Old Boy
The problem is: 4) known: the content of/etc/hosts is
192.168.1.11 oldboy11.etiantian.org
192.168.1.21 oldboy21.etiantian.org
192.168.1.31 oldboy31.etiantian.org
#192.168.1.111
1. Redirect related file descriptors
1) file descriptor
①0 standard input,/dev/stdin->/proc/self/FD/0
②1 standard output,/dev/stdout->/proc/self/FD/1
③2 standard error output,/dev/stderr->/proc/self/FD/2
2) redirection
①> Is 1>
②
③>
As mentioned earlier in mscorwksProgramCompilation is based on functions. Mscorjit provides a functionCompilemethod. Mscorwks calls this function to compile the. NET method.For the encrypted shell of the EE layer or virtual machine pre-processing
Generally, the ADB shell command is used during development. In my personal development, apart from some ADB commands, in fact, the basic commands of Linux are also very important, especially during terminal debugging. The development environment is
Obtain the time string in LinuxCommand date# Output the current time of 23 days in the format of yyyymmdd$ Date + % Y % m % d -- date = '23 days ago'
$ Date-uThu Sep 28 09:32:04 UTC 2006
$ Date-RThu, 28 Sep 2006 17:32:28 + 0800
# Testing one
Unix shell programming (5)
The filter TR is used to convert characters from standard input. Format:Tr from-chars to-charsFrom-chars and to-chars are one or more characters. For example:[Root @ localhost programs] # Cat introThe UNIX operating
! $! $ Is a special environment variable, which represents the last string of the previous command. For example, you may:
$ Mkdir mydir $ MV mydir yourdir $ CD yourdir can be changed to: $ mkdir mydir $ MV! $ Yourdir $ CD! $
Available directly! $
ADB Overview
The tools folder of the SDK contains important commands for Android simulator operations.ADB and ADB are all called (Android debug bridge is the function of debugging bridge. Through ADB, We can debug Android programs through ddms in
One shell script resolves multiple compressed files (change others' code)
The core code of this program is written by tram at linuxsir.org. It mainly aims to understand the function of compressing files in a limited time. I added some code to enable
Introduction and use of shell commands
1. What is shell?In computer science, Shell, commonly known as shell, is a software (command parser) that provides user interfaces ). It is similar to command.com in DOS. It receives user commands and calls
From http://blog.csdn.net/ealpha/archive/2004/10/14/136092.aspx
Standard Input and Output
When you execute a shell command, three standard documents (stdin) are automatically opened, which usually correspond to the keyboard of the terminal.
[From] http://www.ixdba.net/a/ OS /linux/2010/0422/35.html
Shell may often see:>/dev/null 2> & 1
Command results can be defined in the form of %>
Break down this combination: ">/dev/null 2> & 1" is five parts.
1:> indicates the redirection
After logging on to the system today and logging on to N commands, I habitually used the upward arrow key to find the historical commands. I suddenly saw this:
$ ^ [[A ^ [[A ^ [
Press the delete key to display the following information:$ ^ HYou can
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.