APPENDIXA
What's on the Web Site
This appendix shows a list of the shell scripts and functions that are included on this book's companion web site, www.wiley.com/go/michael2e. Each of the shell scripts and functions has a brief description of the purpose.
Shell Scripts
Chapter 1
script.stub
This file has the basic framework to begin writing a shell script.
keyit.rsa
This script is used to set up RSA OpenSSH keys for no-password access to a remote machine. This script must be executed by the user who needs the keys set up.
keyit.dsa
This script is used to set up DSA OpenSSH keys for no-password access to a remote machine. This script must be executed by the user who needs the keys set up.
generic_rsync.bash
This is a generic shell script to copy files using rsync.
select_system_info_menu.bash
This shell script uses a select statement to create menu options for general system information.
test_string.ksh
This script is used to test and display the composition of a character string based on common criteria.
Chapter 2
24_ways_to_parse.ksh
This script shows the different ways of reading a file line-by-line. Again, there is not just one way to read a file line-by-line and some are faster than others and some are more intuitive than others.
random_file.bash
This script is used to create a random-character text file that is the size, in MB, specified on the command line.
Chapter 3
There are no shell scripts to list in Chapter 3.
Chapter 4
timing_test_function.bash
This ...
Get Mastering UNIX® Shell Scripting: Bash, Bourne, and Korn Shell Scripting for Programmers, System Administrators, and UNIX Gurus, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.