Shell Script (ii)

Shell Script (ii)#find查找文件 to find based on time, name, UID, GID, permissions, size, etc.A file or directory accessed within #-amin-10:10 minutes; a file or directory accessed +10:10 minutes ago. The time unit is minutes.#查找10分钟之前30分钟之内访问过的文件或目录Find/

Atom-shell Introduction

Atom-shell is the framework for GITHUB to develop desktop applications using WEB Technology (node. js, JavaScript, HTML 5) with the Atom Open source cross-operating system (Windows,linux,macos X).Atom is built on top of Atom-shell.Well, the above

"Shell" sed command

Sed is a good file processing tool, itself is a pipe command, mainly in the behavior of the unit processing, you can replace the data rows, delete, add, select and other specific work, the following first understand the use of SEDThe SED command

The seven-function application of Linux shell

What is a function?A function is a collection of commands, represented by a name, called a function name. The function name has the same naming convention as the variable.Once the function is defined, execute the name as if it were a bash command

Five process Control of Linux shell--Select

Process control can be handled differently depending on the situation, and the specified program area can be executed repeatedly, demonstrating the productivity of the program. In the bash shell, Process Control can be divided into two main

Shortcut keys available when terminal enters a Shell command

Edit command: Ctrl–a move cursor to beginning of line Ctrl–e move cursor to end of line Ctrl–l Clear screen (function with clear command) Ctrl–d Delete the character at the cursor location Ctrl–t the character in the position of

Automatic packet Capture shell script

Due to a large number of customers under the core of the room, which unavoidably many large customers, is so-called tall tree catches, the recent computer room some customers are always traffic attacks, the prevention method can only be found

(029) Linux Shell fault Diagnosis

Fundamentals of the ten-year OPS series-LinuxZeng LinContact: [Email protected]Website: www.jplatformx.comCopyright: Please do not reprint the article without permission First, IntroductionAs scripts become more complex, you need to see where

Shell built-in command shopt extglob options

IntroductionThe shopt command allows you to set optional parameters for the shell.shopt [-PSU] [optname ...]-S turns on an option.-U turns off an option.-p lists all the options that can be set.Extglob OptionsIf the EXTGLOB option is turned on, the

"Shell" uses/dev/null crontab

1.Linux composition kernel, shell, tool program has Sh.bashAn example!#/bin/bashEcho 'Before execution chmod +xExecution./2. a little trick cp/dev/null/var/log/apache2/access.logUse/dev/null to apache2 log files in the clear sky Note: Think of

Error message after shell script execution "/bin/bash^m:bad interpreter:no such file or dire" workaround

In this case, it is usually a shell script written under window and copied to the Linux machine for execution to occur.The reason is:The end of each line under Windows is \n\r, and the end of the file under Linux is \ nThis allows window to write an

Linux User Login Shell and login read configuration file

The type of shell that stands in terms of user login:Log-in Shell:Log in normally via a terminalSu-usernameSu-l USERNAMENon-logon Shell:Su USERNAME (using su to switch users without any parameters)Open Command Window under GUIShell scripts that are

HBase Introduction (4)---common shell commands

Enter HBase Shell Console$HBASE _home/bin/hbase ShellIf you have Kerberos authentication, you need to use the appropriate keytab for authentication (using the Kinit command), and then use the HBase shell to enter the certificate successfully. You

"Linux Shell Programming" video Learning Notes

First, the Linux Shell BASIC programmingVideo 1 1.1. View your system shell information$ Cat/etc/shell command to get how many shell programs are in the Linux system$ echo $SHELL command to see which of the shells you are currently using1.2. View

Hadoop Learning II: Hadoop infrastructure and shell operations

The difference between 1.hadoop1.0 and hadoop2.0:  hadoop1.0 ecology such as:  hadoop2.0 Ecology:  2.HDFS Description: HDFs is an open source clone of Google's GFS, and the architecture of HDFs is as follows:  1) NameNode: Manages the namespace of

Shell Script Learning 17 Shell Case ESAC statement

Case ... Esac is similar to the switch ... case statement in other languages, and is a multi-branch selection structure.The case statement matches a value or a pattern, and if the match succeeds, the matching command is executed. The case statement

Shell Script Learning 14 Shell echo command

Echo is an internal command of the shell that prints the specified string on the screen. Command format: Echo Arg You can use echo to achieve more complex output format control.Show escape characters echo "\"It is a test\ ""

Shell Common Commands

"Set Environment variables"1. Use the ENV command to display all environment variables$ env2. Use the echo command to view a single environment variable$ echo $PATH3. Set a new environment variable$ export hello= "hello!"Syntax: Export

Shell Script Learning 13 Shell array: definition of shell array, array length

The shell is much more programmatic in terms of programming than Windows batch processing, both in loops and operations.Bash supports one-dimensional arrays (which do not support multidimensional arrays) and does not limit the size of arrays.

Some common Shell commands and common Shell commands

Some common Shell commands and common Shell commands Common system commands] Passwd [hostname]Change Password Useradd [hostname]Add User Su-Switch to the root user Ssh [hostname]Ssh connection Cd [directory]Go to the directory Sudo chown

Total Pages: 541 1 .... 135 136 137 138 139 .... 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.