Classic Shell Scripting phần 1 pps

Classic Shell Scripting phần 1 pps

Classic Shell Scripting phần 1 pps

... Databasespter 11 . Extended Example Section 11 .1. The Problem Section 11 .2. The Password Files s rd FilesSection 11 .3. Merging Pas wo Section 11 .4. Changing File Ownership Section 11 .5. Other ... number of U list includes the follo s oy tty1 Feb 26 10 :53 oy pts/0 Feb 29 10 :59 ts/2 Feb 29 11 :00 ts/3 Feb 29 11 :00 ts/4 Feb 29 11 :00 st n pts/6 Feb 29 15 :39 (man...

Ngày tải lên: 12/08/2014, 10:22

44 514 0
Classic Shell Scripting phần 2 ppsx

Classic Shell Scripting phần 2 ppsx

... octal: $ cut -f1 french-english | od -a -b Display French words in octal bytes 0000000 c t t e nl c o t e nl c o t i nl c 14 3 364 16 4 14 5 012 14 3 15 7 16 4 14 5 012 14 3 15 7 16 4 3 51 012 14 3 0000020 ... limit the width. We found peculiar upper bounds of 10 21 (Solaris), 2048 (HP/UX 11 ), 4093 (AIX and IRIX), 818 9 (OSF /1 4.0), 12 285 (OSF /1 5 .1) , and 214...

Ngày tải lên: 12/08/2014, 10:22

44 381 0
Classic Shell Scripting phần 7 pps

Classic Shell Scripting phần 7 pps

... Jefferson:/home/tj:/bin/bash dorothy:x:6 :10 :Dorothy Gale:/home/d to camus:x :11 2 :10 :Albert jh ben:x:3 01: 10:Ben Franklin:/home/ben:/bin/bash betsy:x :11 10 :10 :Betsy Ross tolstoy:x:2076 :10 :Le 11 .4. Changing File Ownership ... Washi g betsy:x :11 10 :10 :Betsy Ross:/home/betsy:/bin/bash e/jhancock:/bin/bash jhancock:x:300 :10 :John Hancock:/hom 10 :Ben Franklin:/home/ben: ben...

Ngày tải lên: 12/08/2014, 10:22

44 331 0
Mastering Unix Shell Scripting phần 1 pps

Mastering Unix Shell Scripting phần 1 pps

... Common Denominator? 18 7 Syntax for sar 18 8 AIX 18 8 HP-UX 18 9 Linux 18 9 Solaris 19 0 What Is the Common Denominator? 19 0 Syntax for vmstat 19 1 AIX 19 1 HP-UX 19 1 Linux 19 2 Solaris 19 2 What Is the Common ... tty0 Jul 31 23:23 root ftp booboo Jul 31 21: 19 - 21: 19 (00:00) root ftp bambam Jul 31 21: 19 - 21: 19 (00:00) root ftp booboo Jul 31 20:42 - 20:42 (00:00) root f...

Ngày tải lên: 14/08/2014, 16:20

71 202 0
Mastering unix shell scripting phần 1 pdf

Mastering unix shell scripting phần 1 pdf

... vmstat 19 1 AIX 19 1 HP-UX 19 1 Linux 19 2 Solaris 19 2 What Is the Common Denominator? 19 2 Scripting the Solutions 19 3 Using uptime to Measure the System Load 19 4 Scripting with the uptime Command 19 4 Using ... shell 4 Chapter 1 Linux 18 7 Solaris 18 7 What Is the Common Denominator? 18 7 Syntax for sar 18 8 AIX 18 8 HP-UX 18 9 Linux 18 9 Solaris 19 0 What Is th...

Ngày tải lên: 09/08/2014, 16:20

71 390 0
Mastering unix shell scripting phần 3 ppsx

Mastering unix shell scripting phần 3 ppsx

... 96455 59 31 80879 7% /var swap 55 413 2 0 55 413 0% /var/run /dev/dsk/c0d0s5 47975 12 21 419 57 3% /opt swap 554428 296 55 413 2 1% /tmp /dev/dsk/c0d0s7 10 15542 1 954598 1% /export/home /dev/dsk/c0d0s1 375255 ... Output 10 24- MOUNTED FILESYSTEM BLOCKS FREE %USED IUSED %IUSED ON /dev/hd4 32768 16 376 51% 16 63 11 % / /dev/hd2 12 12 416 57592 96% 36386 13 % /usr /dev/hd9var 532...

Ngày tải lên: 09/08/2014, 16:20

70 340 0
Mastering unix shell scripting phần 4 ppsx

Mastering unix shell scripting phần 4 ppsx

... output: SECS=30 INTERVAL =10 # sar $SECS $INTERVAL AIX yogi 1 5 00 012 5604800 07/ 31/ 02 19 :24:00 %usr %sys %wio %idle 19 :24:30 0 1 1 98 19 :25:00 4 15 13 68 19 :25:30 26 28 40 6 19 :26:00 13 12 11 64 19 :26:30 16 44 0 39 19 :27:00 ... w swpd free buff cache si so bi bo in cs us sy id 2 0 0 244 10 88 16 76 210 08 0 0 1 0 12 7 72 1 1 99 3 0 0 244 11 32 16 76 210 0...

Ngày tải lên: 09/08/2014, 16:20

70 361 0
Classic Shell Scripting phần 4 doc

Classic Shell Scripting phần 4 doc

... string comparison. e1 + e2 The sum of e1 and e2. e1 - e2 The difference of e1 and e2. e1 * e2 The product of e1 and e2. e1 / e2 The integer division of e1 by e2 (truncates). e1 % e2 The remainder ... Gale/KNS322/555-0045:/home/toto:/bin/tcsh ben:*:3 01: 10:Ben Franklin/OSD 212 /555-0022:/home/ben:/bin/bash jhancock:* :14 57:57:John Hancock/SIG435/555-0099:/home/jhancock:/bin/bash bets...

Ngày tải lên: 12/08/2014, 10:22

44 742 0
Classic Shell Scripting phần 5 docx

Classic Shell Scripting phần 5 docx

... Since we have three main option choices, with several abbreviations, there are (6 + 1) (10 + 1) x (14 + 1) = 11 55 option com needs to be tested with zero, one, two, and at least three implementation ... try 15 0 nonexistent files, but the exit code correctly caps at 12 5: $ pathfind PATH $(awk 'BEGIN { while (n < 15 0) printf("x. x .1: not found x .15 0: not found...

Ngày tải lên: 12/08/2014, 10:22

44 270 0
Classic Shell Scripting phần 8 doc

Classic Shell Scripting phần 8 doc

... 315 \245\246\247\250\2 51\ 252\253\254\255\256\257" \ 2 61\ 262\263\264\265\266\267\270\2 71\ 272\273\274\275\276\277" \ 300\3 01\ 302\303\304\305\306\307\ 310 \ 311 \ 312 \ 313 \ 314 \ 315 \ 316 \ 317 " ... 'echo Terminating on USR1 ; exit 1& apos; USR1 do sl done reports a USR1 signal and exits. T run it in [1] 2 417 9 Ignoring HUP Terminating on USR...

Ngày tải lên: 12/08/2014, 10:22

44 472 0
w