Mastering Unix Shell Scripting phần 9 pps

Mastering Unix Shell Scripting phần 9 pps

Mastering Unix Shell Scripting phần 9 pps

... Conversions 5 89 ;; +([-0 -9] )) # Check for a negative whole number : # No-op, do nothing ;; +([0 -9] |[.][0 -9] )) # Check for a positive floating point number : # No-op, do nothing ;; +(+[0 -9] |[.][0 -9] )) # ... float_divide.ksh shell script in action. [root:yogi]@/scripts# float_divide.ksh -s 6 .3321 -332.8 89 The quotient of: .3321 / -332.8 89 to a scale of 6 is 00 099 7 Listing...

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

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

Mastering unix shell scripting phần 3 ppsx

... 4 190 208 1155 095 2850 597 29% /u2 /dev/vg00/lvol7 102400 4284 92 256 4% /tmp /dev/vg00/lvol13 20 398 08 1664073 352 294 83% /test2 /dev/vg00/lvol6 720 896 531 295 17 795 3 75% /opt /dev/vg00/lvol5 4 096 00 ... ON /dev/vg00/lvol3 151552 895 00 586 69 60% / /dev/vg00/lvol1 478 29 241 09 1 893 7 56% /stand /dev/vg00/lvol9 1310720 8608 29 422636 67% /var /dev/vg00/lvol8 97 2800 554 392 39...

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

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

Mastering unix shell scripting phần 4 ppsx

... 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 27 73 0 0 19: 27:30 20 48 2 30 19: 28:00 5 6 9 80 19: 28:30 ... (bambam) 07/ 29/ 2002 10:01: 59 PM CPU %user %nice %system %idle 10:02: 09 PM all 0.10 0.00 0.00 99 .90 10:02: 19 PM all 0.00 0.00 0.10 99 .90 10:02: 29 PM...

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

... /tmp/myfilename /tmp/myfilename.120601.131507.03038 /tmp/myfilename.120601.131507.15 593 /tmp/myfilename.120601.131507.11760 /tmp/myfilename.120601.131508.08374 /tmp/myfilename.120601.131508.0 192 6 /tmp/myfilename.120601.131508.07238 /tmp/myfilename.120601.1315 09. 07554 /tmp/myfilename.120601.1315 09. 12343 /tmp/myfilename.120601.131510.08 496 /tmp/myfilename.120601.131510.18285 /tmp/myfi...

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

70 371 0
Mastering Unix Shell Scripting phần 4 pps

Mastering Unix Shell Scripting phần 4 pps

... 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 27 73 0 0 19: 27:30 20 48 2 30 19: 28:00 5 6 9 80 19: 28:30 ... free re at pi po fr de sr in sy cs us sy id 0 39 0 8382 290 122 26 2 0 0 0 3 128 2014 146 14 21 65 1 40 0 7532 148 345 71 0 0 0 0 0 108 5550 3 79 29 43 27 The H...

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

71 264 0
Mastering Unix Shell Scripting phần 6 pps

Mastering Unix Shell Scripting phần 6 pps

... on /dev/hd4 32768 1 092 4 67% 1854 12% / /dev/hd2 14 499 84 61680 96 % 4 094 1 12% /usr /dev/hd9var 53248 10568 81% 673 6% /var /dev/hd3 106 496 70184 35% 223 1% /tmp /dev/hd1 4 096 3 892 5% 55 6% /home /proc ... /usr/sbin/inetd nobody 490 6 5418 0 Jul 23 - 0:01 /usr/sbin/tftpd -n daemon 8 798 195 0 0 Jul 23 - 0:00 /usr/sbin/rpc.statd root 90 34 195 0 0 Jul 23 - 0:00 /usr/sbin/biod 6 ro...

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

71 206 0
Mastering Unix Shell Scripting phần 7 pps

Mastering Unix Shell Scripting phần 7 pps

... new shell script. Let’s call this shell script printing_only_UP_Linux.ksh. You can see the modifications in Listing 16 .9. #!/bin/ksh # # SCRIPT: printing_only_UP_Linux.ksh # Listing 16 .9 printing_only_UP_Linux.ksh ... enter only a filename of an external shell script rather than editing this shell script and try- ing to debug a function in an already working shell script. An ext...

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

71 250 0
Mastering unix shell scripting phần 2 pdf

Mastering unix shell scripting phần 2 pdf

... ‘OCTAL_OR_POSITIVE_INTEGER’ ;; +([0 -9] )) # Check for an integer print ‘INTEGER’ ;; +([-0 -9] )) # Check for a negative whole number print ‘NEGATIVE_WHOLE_NUMBER’ ;; +([0 -9] |[.][0 -9] )) 48 Chapter 1 # # REV LIST: # # 02/ 19/ 2002 ... > STRING STRING=$1 # This is where the string test begins case $STRING in +([0 -9] ).+([0 -9] ).+([0 -9] ).+([0 -9] )) # Testing for an IP address - valid...

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

70 394 0
w