Shell rewrite built-in command--CD

Introduction to the sceneUse Cygwin under Windows, use Apktool to repackage apk; Way OneCD D:CD path/to/apk/in/dApktool D name.apk Way TwoDrag the file into the Cygwin window to delete the trailing file nameCTRL + ACD SPACEApktool D name.apk Mode

Shell (BASH) programming

SHELL programmingDirectory:1.shell Brief Introduction2.shell Programming Preparation3.shell Programming Structured Language Building4. OtherTwo examples of 5.shell programmingWrite in front:1.Hello World#! /bin/bash# This is aexample of bash

A solution that writes HBase shell scripts on the SECURECRT terminal and cannot use the DELETE key

First, describeThe Linux system is connected remotely on the SECURECRT terminal, and the HBase shell script is used for distributed database operations, but you cannot modify the script that entered the error using the DELETE key.Second, the

Shell Programming---File testing and special variables

I. Arithmetic operations 1. Let arithmetic operation expressionLet c= $A + $B2. $[arithmetic operation expression]c=$[$A + $B]3, $ (arithmetic operation expression)c=$ (($A + $B))4, expr arithmetic expression, the expression in the operands and

Shell script programming (strict terminal format control, beautiful output font color)

#!/bin/bash# #下面是字体输出颜色及终端格式控制 # Font Color 30-37ECHO-E "\033[30m black word \033[0m" echo-e "\033[31m red word \033[0m" echo-e "\033[32m green word \ 033[0m "echo-e" \033[33m yellow word \033[0m "echo-e" \033[34m blue word \033[0m "echo-e" \033[35m

Linux Shell Script (i)

first, the initial knowledge of the scriptShell: A class of interpreter between the system kernel and the user.Scripts: A class of files that are executed in a preset order using a specific languagebatch, macro, and interpreter programsTo create a

Shell copies files with similar file names to the specified file name in bulk

Problem:The directory structure is as follows:test/2001.01.01/2001.02.02/2001.03.02/2001.01.03/2001.02.04/2001.03.05/2001.01.04/2001.02.05/2001.03.07/2001.01.06/2001.02.06/2001.03.08/2001.01.12/2001.02.23/2001.03.09/2001.01.13/2001.02.26/2001.03.22/2

tiny4412 Serial drive analysis of nine---shell terminal

PengdonglinEmail:[email protected]Development Board: tiny4412adk+s700 4GB FlashHost: Wind7 64-bitVirtual machine: vmware+ubuntu12_04U-boot:u-boot 2010.12Linux kernel version: linux-3.0.31Android version: android-4.1.2In the above we know

Shell Judgments and comparisons

Http://blog.chinaunix.net/uid-7553302-id-183648.html1 Shell's $! , $?, $$,[email protected] $n The first parameter,$2 the second ... $# the number of command-line parameters. The name of the current program.

Linux Bash Shell string extraction, merge by column, and formatted output

Source of demand: The default IP link show command output will output the network card (including the virtual network card) name, MAC address, port status, and other information, but also mixed with some useless information, this time the string

echo Display content color in shell script

Reprint: http://www.cnblogs.com/lr-ting/archive/2013/02/28/2936792.htmlecho Display in shell script with color display, echo display with color, need to use parameter-EThe format is as follows:For example:Where 41 of the position represents the

Linux timed shell script execution

Transferred from: http://blog.csdn.net/jingxiangren/article/details/4745631In Oracle, the Dbms_job package can be used to perform PL/SQL procedures, which are required at the operating system level, such as backups, to be performed at the OS stage

Recommended OPS shell commands

1. Display up to 10 processes consuming memory/cpuPS aux | Sort-nk +4 | TailPS aux | Sort-nk +3 | Tail2. View the number of concurrent requests for Apache and its TCP connection statusNetstat-n | awk '/^tcp/{++s[$NF]} END {for (a in S) print A, s[a]}

Special symbols in the shell

http://blog.chinaunix.net/u1/53027/showart.php?id=482234The special symbols commonly used in the shell are listed below:#;    ;;        .      ,         /        \         ' String ' |        !    $    ${}     $?       $$    $*          "string" *   

Shell symbol expansion

Character expansion*This "*" character means matching any character in the file nameThe shell expands "*" into something else, before the echo command is executed.~ Home DirectoryArithmetic expression expansionAn arithmetic expression expands using

Shell learning: Several common shell exercises

1. Write the shell script and calculate the 1-100; 2.   writing shell The script requires a number to be entered and then calculated from 1 to enter the number and, if required, if the number entered is less than 1 3.   writing shell

Shell floating point arithmetic tool BC

Shell floating point arithmetic tool BCBC supports floating-point numbers, which is an advanced tool for mathematical operations.[[Email protected] Desktop]# BCBC 1.06Copyright 1991-1994, 1997, 1998, Free Software Foundation, Inc.This is the free

Braces and parentheses in the shell

What I want to say here is a few shell parentheses, braces and parentheses, the use of commands, as follows:1.${var}2.$ (CMD)3. () and {}4.${var:-string},${var:+string},${var:=string},${var:?string}5.$ ((exp))6.$ (Var%pattern), $ (Var%%pattern), $

Special characters of shell scripts

Special characters of shell scripts1. # comment ,#! Besides, echo $ {PATH # *:} parameter replacement does not represent annotation, numeric conversion, and echo $(2 #101011) 2 .; command Line separator. Multiple commands can be written in one line.

Shell script programming (strict terminal format control, beautiful output font color)

Shell script programming (strict terminal format control, beautiful output font color) #! /Bin/bash # font output color and terminal format control # font color 30-37echo-e "\ 033 [30 m black character \ 033 [0 m" echo-e "\ 033 [31 m red word \ 033 [

Total Pages: 541 1 .... 172 173 174 175 176 .... 541 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.