1: #!/bin/ksh 2: 3: echo Today is `date` 4: 5: file=/etc/hosts 6: echo The file $file has $(wc -l < $file) lines 7: 8: echo This system has host name $(</etc/nodename)
| last modified 09/02/2006 | Introduction | Table of Contents (frame/no frame) |
Printable (single file) |
© Dartmouth College |