Use! To invoke past commands.!! Repeat the previous instruction!a Repeat the previous instruction, led by a!nubmer Repeat the previous instruction to record numbers in the history table!-number Repeat the previous number instructionAilas abc= ' CD
Regular Expression \ : exact match of the, excluding words containing [^ B-d]: does not contain B ~ D A \ {2 \}: A appears twice A \ {2, 3 \}: A appears 2 ~ 3 times A \ {2 ,\}: A appears at least twice [: Upper:]: uppercase letters (when used,
Not to mention, directly add the script.# Processbar processbar () {local current = $1; Local Total = $2; Local maxlen = 80; Local barlen = 66; Local perclen = 14; local format = "%-$ {barlen} s % $ (maxlen-barlen )) s "Local Perc =" [$ current/$
Http://southking.javaeye.com/blog/613089
Run the. Sh script in Linux./bin/sh ^ m: Bad Interpreter: no such file or directory is abnormal.
Analysis: This is caused by different system encoding formats: The. Sh file edited in Windows may have
1. Register a "Passport" on the official website of peanut shells ". (The meaning of the passport peanut shell account. To be honest, I don't like a bunch of fancy words used by this website, such as peanut shells and sunflower. People who are first
In Unix-like systems, symbolic links are very common and we will encounter various processing tasks related to symbolic links.This article introduces some practical methods for handling symbolic links. I hope to help you write shell scripts. For
From the operating system perspective, a job is a user task running in a computer system. In Unix/Linux systems, a job can be defined as one or more commands entered in the command line. Linux is a real multi-user and multi-task operating system,
While do done, until do done (indefinite loop)
In general, the most common status of an indefinite loop is the following two states:
While[Condition] The status in the brackets is the limit type.DoDoIt is the beginning of the
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",
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
Recently, some hbase things were introduced during the testing of XX Project, hoping to record the process from the testing perspective and hope to help you quickly understand it. As a person who first came into contact with it, they need to grasp
Server address: 192.168.1.110
Network Segment: 192.168.1.0
Subnet Mask: 255.255.255.0
Gateway: 192.168.1.254
[[Email protected] ~] # Cat DHCP. Sh#! /Bin/bash# Auto deploy DHCP server for 192.168.1.0/24 netmask# This script need you have you Yum
1. Introduction to SED
Sed is an online editor that processes a row of content at a time. During processing, the currently processed rows are stored in the temporary buffer, called the pattern space. Then, the SED command is used to process the
Understanding:
By default, Linux commands obtain input from the standard input device (stdin) and output the result to the standard output device (stdout) for display. Generally, the standard input device is the keyboard, and the standard output
========================================================== ==========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:
Solaris is used in many aspects, which is not the same as before. The following describes some shell Problems and Solutions in Solaris.The default shell of Solaris is sh, that is, the command line prompt is (Root User ):#In the Linux Command Line
Why is the difference between windows dos and Linux shell ??, Linuxshell
Import the database using impdp in Windows dos:
Impdp "sys/password @ ip: 1521/sidname as sysdba" directory = dbdir dumpfile = "full. dmp" full = y
You can import a complete
Test File OPERATOR:
-B file: if the file is a special file, it is true.
-C file: if the file is a special character file, it is true.
-D file: if the file is a directory, it is true.
-E file: true if the file exists
-F file: if the file is a normal
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.