Classic Shell Scripting phần 2 ppsx
... /etc/p chico:x: 125 01:1000:Chico Marx:/home/chico:/bin/bash daemon:x :2: 2:daemon:/sbin:/sbin/nologin groucho:x: 125 03 :20 00:Groucho Marx:/home/groucho:/bin/sh gummo:x: 125 04:300 harpo:x: 125 02: 1000:Harpo ... width. We found peculiar upper bounds of 1 021 (Solaris), 20 48 (HP/UX 11), 4093 (AIX and IRIX), 8189 (OSF/1 4.0), 122 85 (OSF/1 5.1), and 21 47483647 (largest 32- bit signed...
Ngày tải lên: 12/08/2014, 10:22
... 7m20.48s user 0m51.01s sys 6m14.57s Method 7: function while_LINE_line_cmdsub2 real 7m18.04s user 0m 52. 01s sys 6m10.94s Method 8: function while_LINE_line_bottom_cmdsub2 real 7m20.34s Listing 2. 17 ... 7m16.87s user 0m51.87s sys 6m8.54s Method 7: function while_LINE_line_cmdsub2 real 7m18.04s user 0m 52. 01s sys 6m10.94s Listing 2. 22 Command substitution timing difference. In Method 4 t...
Ngày tải lên: 09/08/2014, 16:20
... ON /dev/vg00/lvol3 1515 52 89500 58669 60% / /dev/vg00/lvol1 47 829 24 109 18937 56% /stand /dev/vg00/lvol9 1310 720 860 829 422 636 67% /var /dev/vg00/lvol8 9 728 00 5543 92 3 923 58 59% /usr 1 32 Chapter 5 } #################################### function ... /var/run /dev/dsk/c0d0s5 47975 122 1 41957 3% /opt swap 554 428 29 6 5541 32 1% /tmp /dev/dsk/c0d0s7 10155 42 1 954598 1% /expor...
Ngày tải lên: 09/08/2014, 16:20
Mastering unix shell scripting phần 4 ppsx
... 10 4 HP-UX dino B.10 .20 A 9000/715 07 /29 /1 02 22: 48:10 %usr %sys %wio %idle 22 :48 :20 40 60 0 0 22 :48:30 40 60 0 0 22 :48:40 12 19 0 68 22 :48:50 0 0 0 100 Average 23 35 0 42 Now let’s only look ... 000 125 604800 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...
Ngày tải lên: 09/08/2014, 16:20
Classic Shell Scripting phần 1 pps
... 1 .2. Software Tools P nciri ples Section 1.3. Summary Chapter 2. Getting Started Section 2. 1. Scripting Languages Versus Compiled Languages Section 2. 2. Why Use a Shell Script? Section 2. 3. ... 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 (mansfield-park.exa...
Ngày tải lên: 12/08/2014, 10:22
Classic Shell Scripting phần 4 doc
... 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 ... lines of executable code! See Example 7-3 toto:*:1 027 :18:Toto Gale/KNS 322 /555-0045:/home/toto:/bin/tcsh ben:*:301:10:Ben Franklin/OSD2 12/ 555-0 022 :/home/ben:/bin/bash jhancock:*:1457:57:Jo...
Ngày tải lên: 12/08/2014, 10:22
Classic Shell Scripting phần 5 docx
... value of to . The result, as expected, is that , , and all reb a a b c 123 ) + (z = 321 ) sets x, y, and z to 444, 123 , and 321 , respectiv ** **= avoided in new code: use ^ and ^= instead. Be ... "$all" = "no" && break 2 ot found" t status to common Unix practice t $EXITCODE -gt 125 && EXITCODE= 125 exit $EXITCODE $? sion options: $...
Ngày tải lên: 12/08/2014, 10:22
Classic Shell Scripting phần 7 pps
... homedir shell $user2 ] $user and $user2 > unique2 old-new-list >> old_ifs=$IFS IFS=: le read user passwd uiwhi do if read user2 passwd2 uid2 gid2 fullname2 homedir2 shell2 ... $0 awk '{ print $ show-identical-files /bin/* 2df30875 121 b 927 6 725 9e8 928 2dd30 02 /bin/red 4 4 325 2d689938f4d6a513a2f571786aa1 We can conclude, for example, that e...
Ngày tải lên: 12/08/2014, 10:22
Classic Shell Scripting phần 8 doc
... http://www.simpopdf.com 315 \24 5 \24 6 \24 7 \25 0 \25 1 \25 2 \25 3 \25 4 \25 5 \25 6 \25 7" \ 26 1 \26 2 \26 3 \26 4 \26 5 \26 6 \26 7 \27 0 \27 1 \27 2 \27 3 \27 4 \27 5 \27 6 \27 7" \ 300\301\3 02\ 303\304\305\306\307\310\311\3 12\ 313\314\315\316\317" ... 300\301\3 02\ 303\304\305\306\307\310\311\3 12\ 313\314\315\316\317" \ "\ 320 \ 321 \ 322 \ 323 \ 32...
Ngày tải lên: 12/08/2014, 10:22
Classic Shell Scripting phần 10 ppt
... total 7 120 -rwxr-xr-x 1 rpm rpm 1737960 20 02- 02- 15 08:31 rpm 9964 20 01-07-09 06:56 bash 24 92 2001-06 -24 20 :08 ash.static -rwxr-xr-x 2 root root 404604 20 01-07-30 12: 46 zsh -4.0 .2 fill up ... 51 -rwxr-xr-x 1 root root 47 -rwxr-xr-x 2 root root 404604 20 01-07-30 12: 46 zsh -rwxr-xr-x 1 root root 387 820 20 02- 01 -28 04:10 vi -rwxr-xr-x 1 root root 28 8604 20 0...
Ngày tải lên: 12/08/2014, 10:22