Classic Shell Scripting phần 4 doc

Classic Shell Scripting phần 4 doc

Classic Shell Scripting phần 4 doc

... while IFS=: read user passwd uid gid name home shell do shell= $ {shell: -/bin/sh} # Empty shell field means /bin/sh file="/tmp/$(echo $shell | sed -e 's;^/;;' -e 's;/;-;g').mailing-li ... possible to define shell functions that extend or override regular shell built-ins. ature is used most often in interactive shells. For example, suppose that you w...

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

... maildrop["53" SUBSEP " print maildrop["53\034Oak Lane", "T4Q 7XV"] print maildrop["53\034Oak Lane\034T4Q 7XV"] Clearly, if you later change the SUBSEP ... archive for Version 3.1 .4 of gawk is stored in /usr/local/gnu/src/gawk/gawk-3.1 .4. tar.gz, and the build logs for that version are stored in /usr/local/gnu/src/gawk/logs/gawk-3.1 .4. A...

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

... "\320\321\322\323\3 24\ 325\326\327\330\331\332\333\3 34\ 335\336\337" \ "\ 340 \ 341 \ 342 \ 343 \ 344 \ 345 \ 346 \ 347 \350\351\352\353\3 54\ 355\356\357" \ \373\3 74\ 375\376\377" \ ... http://www.simpopdf.com 315 \ 245 \ 246 \ 247 \250\251\252\253\2 54\ 255\256\257" \ 261\262\263\2 64\ 265\266\267\270\271\272\273\2 74\ 275\276\277" \ 300\301\30...

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

44 472 0
Mastering unix shell scripting phần 4 ppsx

Mastering unix shell scripting phần 4 ppsx

... 203 17 :45 : 14 25 75 0 0 17 :45 : 24 26 74 0 0 17 :45 : 34 25 75 0 0 Average 25 75 0 0 Now let’s look at the average of the samples directly. # sar 10 4 | grep Average Average 26 74 0 0 HP-UX # sar 10 4 HP-UX ... dino B.10.20 A 9000/715 07/29/102 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...

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

70 361 0
Mastering unix shell scripting phần 5 doc

Mastering unix shell scripting phần 5 doc

... /remd_log3b remp2_log4a jfs 1 1 1 open/syncd /remd_log4a remp2_log4b jfs 1 1 1 open/syncd /remd_log4b remp2_log5a jfs 1 1 1 open/syncd /remd_log5a remp2_log5b jfs 1 1 1 open/syncd /remd_log5b remp2_rbs01 jfs 47 47 ... were found in any active LV EXITING \n” fi Listing 11 .4 stale_LV_mon.ksh shell script listing. (continued) Notice in the script in Listing 11 .4 that we added notificatio...

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

70 575 0
Mastering unix shell scripting phần 6 doc

Mastering unix shell scripting phần 6 doc

... Mounted on /dev/hd4 32768 109 24 67% 18 54 12% / /dev/hd2 144 99 84 61680 96% 40 941 12% /usr /dev/hd9var 53 248 10568 81% 673 6% /var /dev/hd3 10 649 6 701 84 35% 223 1% /tmp /dev/hd1 40 96 3892 5% 55 6% ... ./install-sh -c -O 0 -G 0 -M 044 0 ./sudoers /etc/sudoers /bin/sh ./install-sh -c -O 0 -G 0 -M 044 4 ./sudo.man /usr/local/man/man8/sudo.8 /bin/sh ./install-sh -c -O 0 -G 0 -M 044...

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

70 363 0
Mastering unix shell scripting phần 9 docx

Mastering unix shell scripting phần 9 docx

... iteration: ADD=”12” ADD=”12 + 45 3.766” ADD=”12 + 45 3.766 + 223.6” ADD=”12 + 45 3.766 + 223.6 + 3. 145 927” ADD=”12 + 45 3.766 + 223.6 + 3. 145 927 + 22” Using a Here Document When the looping finishes ... 2 048 65536 42 .632 The difference of: 8.09838 - 2 048 - 65536 - 42 .632 to a scale of 4 is -67618.53362 Listing 22.5 float_subtract.ksh shell script in action. The float_subtrac...

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

70 370 0
Mastering unix shell scripting phần 10 docx

Mastering unix shell scripting phần 10 docx

... base 10. Chapter 24 operations_menu.ksh: Shell script menu for an Operations staff. Chaper 25 broadcast.ksh: Shell script to send pop-up messages to Windows desktops. This shell script requires Samba ... 14 chpwd_menu.ksh: This shell script uses sudo to allow support personnel to change passwords. sudo-1.6.3p7.tar.gz: This is a tar ball of the sudo source code. Chapter 15 hgrep.ks...

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

73 347 0
Classic Shell Scripting phần 1 pps

Classic Shell Scripting phần 1 pps

... Section 14. 1. Gotchas Section 14. 2. The bash shopt Command Section 14. 3. Common Extensions Section 14. 4. Download Information d ourne-Style ShellsSection 14. 5. Other Exten ed B Section 14. 6. Shell ... Fields Section 3 .4. Summary Chapter 4. Text Processing Tools Section 4. 1. Sorting Text Section 4. 2. Removing Duplicates agraphsSection 4. 3. Reformatting Par S C aract...

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

... words in octal bytes 0000000 c t t e nl c o t e nl c o t i nl c 143 3 64 1 64 145 012 143 157 1 64 145 012 143 157 1 64 351 012 143 0000020 t Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com ... ields are empty). 3 64 1 64 351 012 00000 24 angled, ô is 3 64 8 . O nux systems, you can confirm $ pa Oct Dec Hex Char Description - 51 233...

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

44 381 0
w