It is for entertainment only and is not responsible for the result of misoperations.
1. Remote copyRoot@192.168.1.38:/f/u/C/k.txt.Root@192.168.1.38 SCP-r-p1234:/beauty.
2. Force Overwrite\ CP-r/data/data1
3. synchronous copy of
I just got started with Linux development and recently encountered the problem of calling shell scripts in Java. I found a method suitable for cainiao-level development, as described below:
Add # In the first line of the shell script to be run
I often see 1> & 2 similar statements in Linux shell scripts. What does this mean?
In fact, both of them are Linux file descriptors. in Linux
0 indicates standard input.
1 indicates standard output
2 indicates error output
Another special one
The current user configuration information in the registry is as follows:-----------------------------------------------------------------------------Windows Registry Editor Version
[Cracked by] layper[Author mailbox] layper2002@yahoo.com.cn[Author's homepage] www.sy135.com[Tools] peid, OD,[Cracking platform] Win9x/NT/2000/XP[Software name] single-step Analysis of Shell and shell chaos (5)[Statement of cracking] I am a cainiao.
Install and use a peanut shell (Linux). I did this:
First you have to have a peanut shell account, must apply to the http://www.oray.com. Follow these steps.
1. Open the Web http://www.oray.com/peanuthull/download_linux.php In the XP BrowserButton
Author: Wang Shanshan,Hua Qing vision embedded college lecturer.
I. Differences and usage between system variables, user variables, and environment variables in shell:
Shell has the following basic types of variables:
1) environment variables
1. Shift remove the first parameter
2. $ # provides the total number of parameters passed to shell scripts or functions.While [$ #! = 0] gradually decreases with shift $ #, And the loop ends.DoCase $1 in
EsacShiftDone
3. $ *, $ @All command line
This document describes the basic usage of sed. We recommend that you take a look at the details of SED and awk In the third edition. Sed matches the regular expression to output the command to process the text, it is a headache to be unfamiliar
I. Input and Output 1. standard file descriptor
Each process can have a maximum of nine open file descriptors: 0 -- stdin, 1 -- stdout, 2 -- stderr.
(1) stdin
For terminals, stdin is the keyboard.
When the input redirection symbol (
(2)
Chapter 2 shell Basics
1. Which two files are used during shell initialization?
/Etc/profile, which contains the shell initialization information required by all users in the system
. Profile, whether it is in the user's starting directory. The
Ninth cycle
Basic Syntax:
While command
Do
List
Done
Single Row format:
While command; do list; done
For example:
X = 0
While [$ X-LT 10]
Do
Echo $ x
X = $ x + 1
Done
While loops are most commonly used to check whether user input is obtained
Send mail using msmtp mutt Shell
1. Compile the software.
Software: http://sourceforge.net/projects/msmtp/files/msmtp/1.4.13/msmtp-1.4.13.tar.bz2/download
Tar jxvf msmtp-1.4.13.tar.bz2
./Configure -- prefix =/opt/msmtp
Make
Make install
2. Check
Prerequisites: The shell environment pdksh and Bash; the default shell environment in Ubuntu is Bash.
Syntax:
Variables
1. There are three types of variables: environment variables, internal variables, and user variables. The environment
Is_upper ()
# Is_upper
# Checks tosee if we have a string in upper case
# To Call: is_upper $1
{
# Check we have the right Params
If [$ #-ne 1]; then
Echo "is_upper: I need a string to test OK"
Return 1
Fi
# Use awk to check we have only
Curl is a URL access tool that can be used to construct HTTP request packets and parse the HTTP response returned by the server. It also supports cookie features and can be used to complete basic web browser functions. Curl also supports https, FTP,
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