├── LICENSE ├── README.md ├── chapter 01 ├── 01_script.sh ├── 02_my_first_script.sh ├── 03_example1.sh ├── 04_if.sh ├── 05_if_else.sh ├── 06_if_elif.sh ├── 07_strings_evaluation.sh ├── 08_nested_if.sh ├── 09_if_elif_else.sh ├── 10_case.sh ├── 11_for.sh ├── 12_do_while.sh ├── 13_until.sh ├── 14_function.sh ├── 15_io_maker.sh ├── 16_library.sh ├── 17_return_codes_101.sh ├── 18_redirection.sh └── 19_flags.sh ├── chapter 02 ├── 01_search.sh ├── 02_test.sh ├── 03_mathexp.sh ├── 04_script.sh ├── 05_builtin-str.sh ├── 06_builtin-strng.sh ├── 07_some-strs.sh ├── 08_more-strsng.sh ├── 09_echo-mayhem.sh ├── 10_printf-mayhem.sh ├── 11_hellobonjour.sh ├── 12_translator.sh ├── 13_files-extended.sh ├── 14_data-csv-to-xml.sh └── 15_data-xml-to-json.sh ├── chapter 03 ├── 01_whoami.sh ├── 02_mytree.sh ├── 03_dsetmkr.sh ├── 04_file-deduplicator.sh ├── 05_file-splitter.sh ├── 06_file-joiner.sh └── 07_data-maker.sh ├── chapter 04 ├── 01_recursive_read_input.sh ├── 02_loop_for_input.sh ├── 03_loop_while_input.sh ├── 04_loop_until_input.sh ├── 05_loop_and_print.sh ├── 06_bad_input.sh ├── 07_better_input.sh ├── 08_validate_email.sh ├── 09_validate_ip.sh ├── 10_select_menu.sh ├── 11_mytrap.sh ├── 12_mylock.sh ├── 13_mytimeout.sh ├── 14_master.sh ├── 15_worker.sh └── 16_myscript.sh ├── chapter 05 ├── 01_server_uptime.sh ├── 02_cpu_info.sh ├── 03_test_ipv4.sh ├── 04_test_ip_dns.sh ├── 05_test_web.sh ├── 06_wifi_conn.sh ├── 07_inotify_example.sh ├── 08_mysql_version.sh ├── 09_create_database.sh └── 10_add_user.sh ├── chapter 06 ├── 01_create_alarm.sh ├── 02_yes_no.sh ├── 03_calendar_dialog.sh ├── 04_checklist_dialog.sh ├── 05_raise_border.sh ├── 06_integrity_check.sh ├── 07_timezones.sh ├── Filerec.md5 └── Filerec.sha256 ├── chapter 07 ├── 01_scrap_contents.sh ├── 02_logging_bot.sh ├── 03_dmz_iptables.sh └── 04_incr_backup.sh └── chapter 08 ├── 01_cal_runtime.sh ├── 02_if_oneline.sh ├── 03_for_online.sh ├── 04_while_oneline.sh ├── 05_avoid_error.sh ├── 06_sample_script.sh ├── 07_sampleconfig.conf ├── 08_user_wait.sh ├── 09_hello.sh ├── 10_function_example.sh └── 11_function2.sh /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/README.md -------------------------------------------------------------------------------- /chapter 01/01_script.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 01/01_script.sh -------------------------------------------------------------------------------- /chapter 01/02_my_first_script.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 01/02_my_first_script.sh -------------------------------------------------------------------------------- /chapter 01/03_example1.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 01/03_example1.sh -------------------------------------------------------------------------------- /chapter 01/04_if.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 01/04_if.sh -------------------------------------------------------------------------------- /chapter 01/05_if_else.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 01/05_if_else.sh -------------------------------------------------------------------------------- /chapter 01/06_if_elif.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 01/06_if_elif.sh -------------------------------------------------------------------------------- /chapter 01/07_strings_evaluation.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 01/07_strings_evaluation.sh -------------------------------------------------------------------------------- /chapter 01/08_nested_if.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 01/08_nested_if.sh -------------------------------------------------------------------------------- /chapter 01/09_if_elif_else.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 01/09_if_elif_else.sh -------------------------------------------------------------------------------- /chapter 01/10_case.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 01/10_case.sh -------------------------------------------------------------------------------- /chapter 01/11_for.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 01/11_for.sh -------------------------------------------------------------------------------- /chapter 01/12_do_while.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 01/12_do_while.sh -------------------------------------------------------------------------------- /chapter 01/13_until.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 01/13_until.sh -------------------------------------------------------------------------------- /chapter 01/14_function.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 01/14_function.sh -------------------------------------------------------------------------------- /chapter 01/15_io_maker.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 01/15_io_maker.sh -------------------------------------------------------------------------------- /chapter 01/16_library.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 01/16_library.sh -------------------------------------------------------------------------------- /chapter 01/17_return_codes_101.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 01/17_return_codes_101.sh -------------------------------------------------------------------------------- /chapter 01/18_redirection.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 01/18_redirection.sh -------------------------------------------------------------------------------- /chapter 01/19_flags.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 01/19_flags.sh -------------------------------------------------------------------------------- /chapter 02/01_search.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 02/01_search.sh -------------------------------------------------------------------------------- /chapter 02/02_test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 02/02_test.sh -------------------------------------------------------------------------------- /chapter 02/03_mathexp.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 02/03_mathexp.sh -------------------------------------------------------------------------------- /chapter 02/04_script.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 02/04_script.sh -------------------------------------------------------------------------------- /chapter 02/05_builtin-str.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 02/05_builtin-str.sh -------------------------------------------------------------------------------- /chapter 02/06_builtin-strng.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 02/06_builtin-strng.sh -------------------------------------------------------------------------------- /chapter 02/07_some-strs.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 02/07_some-strs.sh -------------------------------------------------------------------------------- /chapter 02/08_more-strsng.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 02/08_more-strsng.sh -------------------------------------------------------------------------------- /chapter 02/09_echo-mayhem.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 02/09_echo-mayhem.sh -------------------------------------------------------------------------------- /chapter 02/10_printf-mayhem.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 02/10_printf-mayhem.sh -------------------------------------------------------------------------------- /chapter 02/11_hellobonjour.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 02/11_hellobonjour.sh -------------------------------------------------------------------------------- /chapter 02/12_translator.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 02/12_translator.sh -------------------------------------------------------------------------------- /chapter 02/13_files-extended.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 02/13_files-extended.sh -------------------------------------------------------------------------------- /chapter 02/14_data-csv-to-xml.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 02/14_data-csv-to-xml.sh -------------------------------------------------------------------------------- /chapter 02/15_data-xml-to-json.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 02/15_data-xml-to-json.sh -------------------------------------------------------------------------------- /chapter 03/01_whoami.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | VAR=$0 3 | echo "I was ran as: $VAR" 4 | -------------------------------------------------------------------------------- /chapter 03/02_mytree.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 03/02_mytree.sh -------------------------------------------------------------------------------- /chapter 03/03_dsetmkr.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 03/03_dsetmkr.sh -------------------------------------------------------------------------------- /chapter 03/04_file-deduplicator.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 03/04_file-deduplicator.sh -------------------------------------------------------------------------------- /chapter 03/05_file-splitter.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 03/05_file-splitter.sh -------------------------------------------------------------------------------- /chapter 03/06_file-joiner.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 03/06_file-joiner.sh -------------------------------------------------------------------------------- /chapter 03/07_data-maker.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 03/07_data-maker.sh -------------------------------------------------------------------------------- /chapter 04/01_recursive_read_input.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 04/01_recursive_read_input.sh -------------------------------------------------------------------------------- /chapter 04/02_loop_for_input.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 04/02_loop_for_input.sh -------------------------------------------------------------------------------- /chapter 04/03_loop_while_input.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 04/03_loop_while_input.sh -------------------------------------------------------------------------------- /chapter 04/04_loop_until_input.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 04/04_loop_until_input.sh -------------------------------------------------------------------------------- /chapter 04/05_loop_and_print.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 04/05_loop_and_print.sh -------------------------------------------------------------------------------- /chapter 04/06_bad_input.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 04/06_bad_input.sh -------------------------------------------------------------------------------- /chapter 04/07_better_input.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 04/07_better_input.sh -------------------------------------------------------------------------------- /chapter 04/08_validate_email.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 04/08_validate_email.sh -------------------------------------------------------------------------------- /chapter 04/09_validate_ip.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 04/09_validate_ip.sh -------------------------------------------------------------------------------- /chapter 04/10_select_menu.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 04/10_select_menu.sh -------------------------------------------------------------------------------- /chapter 04/11_mytrap.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 04/11_mytrap.sh -------------------------------------------------------------------------------- /chapter 04/12_mylock.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 04/12_mylock.sh -------------------------------------------------------------------------------- /chapter 04/13_mytimeout.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 04/13_mytimeout.sh -------------------------------------------------------------------------------- /chapter 04/14_master.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 04/14_master.sh -------------------------------------------------------------------------------- /chapter 04/15_worker.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 04/15_worker.sh -------------------------------------------------------------------------------- /chapter 04/16_myscript.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 04/16_myscript.sh -------------------------------------------------------------------------------- /chapter 05/01_server_uptime.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 05/01_server_uptime.sh -------------------------------------------------------------------------------- /chapter 05/02_cpu_info.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 05/02_cpu_info.sh -------------------------------------------------------------------------------- /chapter 05/03_test_ipv4.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 05/03_test_ipv4.sh -------------------------------------------------------------------------------- /chapter 05/04_test_ip_dns.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 05/04_test_ip_dns.sh -------------------------------------------------------------------------------- /chapter 05/05_test_web.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 05/05_test_web.sh -------------------------------------------------------------------------------- /chapter 05/06_wifi_conn.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 05/06_wifi_conn.sh -------------------------------------------------------------------------------- /chapter 05/07_inotify_example.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 05/07_inotify_example.sh -------------------------------------------------------------------------------- /chapter 05/08_mysql_version.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 05/08_mysql_version.sh -------------------------------------------------------------------------------- /chapter 05/09_create_database.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 05/09_create_database.sh -------------------------------------------------------------------------------- /chapter 05/10_add_user.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 05/10_add_user.sh -------------------------------------------------------------------------------- /chapter 06/01_create_alarm.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 06/01_create_alarm.sh -------------------------------------------------------------------------------- /chapter 06/02_yes_no.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 06/02_yes_no.sh -------------------------------------------------------------------------------- /chapter 06/03_calendar_dialog.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 06/03_calendar_dialog.sh -------------------------------------------------------------------------------- /chapter 06/04_checklist_dialog.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 06/04_checklist_dialog.sh -------------------------------------------------------------------------------- /chapter 06/05_raise_border.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 06/05_raise_border.sh -------------------------------------------------------------------------------- /chapter 06/06_integrity_check.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 06/06_integrity_check.sh -------------------------------------------------------------------------------- /chapter 06/07_timezones.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 06/07_timezones.sh -------------------------------------------------------------------------------- /chapter 06/Filerec.md5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 06/Filerec.md5 -------------------------------------------------------------------------------- /chapter 06/Filerec.sha256: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 06/Filerec.sha256 -------------------------------------------------------------------------------- /chapter 07/01_scrap_contents.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 07/01_scrap_contents.sh -------------------------------------------------------------------------------- /chapter 07/02_logging_bot.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 07/02_logging_bot.sh -------------------------------------------------------------------------------- /chapter 07/03_dmz_iptables.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 07/03_dmz_iptables.sh -------------------------------------------------------------------------------- /chapter 07/04_incr_backup.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 07/04_incr_backup.sh -------------------------------------------------------------------------------- /chapter 08/01_cal_runtime.sh: -------------------------------------------------------------------------------- 1 | clear 2 | ls -l 3 | date 4 | sudo apt install python3 5 | -------------------------------------------------------------------------------- /chapter 08/02_if_oneline.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 08/02_if_oneline.sh -------------------------------------------------------------------------------- /chapter 08/03_for_online.sh: -------------------------------------------------------------------------------- 1 | for i in {1..10}; do echo "Hello World"; done 2 | -------------------------------------------------------------------------------- /chapter 08/04_while_oneline.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 08/04_while_oneline.sh -------------------------------------------------------------------------------- /chapter 08/05_avoid_error.sh: -------------------------------------------------------------------------------- 1 | echo "Hello World" 2 | a = 100 3 | b=20 4 | c=$((a+b)) 5 | echo $a 6 | -------------------------------------------------------------------------------- /chapter 08/06_sample_script.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 08/06_sample_script.sh -------------------------------------------------------------------------------- /chapter 08/07_sampleconfig.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 08/07_sampleconfig.conf -------------------------------------------------------------------------------- /chapter 08/08_user_wait.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 08/08_user_wait.sh -------------------------------------------------------------------------------- /chapter 08/09_hello.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 08/09_hello.sh -------------------------------------------------------------------------------- /chapter 08/10_function_example.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 08/10_function_example.sh -------------------------------------------------------------------------------- /chapter 08/11_function2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Bash-Cookbook/HEAD/chapter 08/11_function2.sh --------------------------------------------------------------------------------