linux foundation - an array of classroom essay 09_

Array: (Section 6.14)

 

 

  • Take partition utilization, greater than eighty percent of the alerts

    Taking a first column partition

 

Take partition usage:

 

script:

 

Check the script syntax:

 

——end

 

Array sections:

1. Take two skip behind the front

2. Before taking two three skip

 

 

 

  • 10 generates random numbers stored in the array, find the maximum and minimum values ​​(about 10:05)

 

 

Eval

 

Variable indirect reference:

 

 

Create a temporary file:

  • Create a beginning file, temporary files followed by six random characters

 

 

  • Create a beginning file, followed by a temporary file time and six random characters

    1.

 

2.

 

 

  • Create a temporary folder -d

 

 

  • Specified folder storage path -p

 

 

install copy the installation files

 

The interactive artificial expect (manual operation) into automated operation (to be installed)

 

  • Monitoring "hello" string, if someone print, send, "you said hello"

 

  • seq automatically entered "yes" and the password is sent asking price

 

  • Interaction - Automatic - interactive

 

 

Guess you like

Origin www.cnblogs.com/qige-11/p/11032520.html