Job tasks 02

. 3 , Sed operation to copy data files line 9 to line 15 to the line 16.

 

4 , acquires the reciprocal of the third row in the file field of the second column with awk

 

 5, for the realization of the following requirements test file:

 

a) The first column all the remaining rows column summation aaa

 

b) a file even-numbered row summation

 

 

 

c) find the maximum value in the test file;

 

 

 

 

 

6 , the file test.txt tabs, Tab i.e., replace all!

 

 

7 , the syntax of the case statement? While the syntax statement? Role continue command?

case statement: using a multi-branch if statement rewritten script structure can be more clear, structured. Different values ​​for the variables, execute a different command sequences.

while statement: repeat the test a condition, as long as the condition is true then repeatedly executed.

continue command: out of the current cycle

8 , see http concurrent with the command requests its TCP link status

 

 

 

 

9 , the AUX PS of VSZ and RSS What is the meaning?

 

 

VSZ virtual memory set, the process takes virtual memory space

RSS set of physical memory, the process of war with the actual physical memory space.

10 , please write shell script the following: for loop in / opt (+) fixed character string test batch create html files 10, and html capital, will create a complete test by randomly changing all lower case letters plus the length 10 as test_done (for loop to achieve):

 

 

 

 

 

 

 

11 , randomly generated 10-digit number, a randomly generated 10 letters, mixed randomly generated 10 letters + numbers good, 10 to randomly generate numbers of letters + + mixed special symbols.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Guess you like

Origin www.cnblogs.com/liyurui/p/11493998.html