├── Chapter 6 ├── actorfile_1.txt ├── actorfile_2.txt ├── actorfile_6.txt ├── autos.txt ├── fruit.txt ├── myfile_1.txt ├── myfile_2.txt ├── num_1.txt ├── num_2.txt ├── number_1.txt ├── number_2.txt ├── number_3.txt ├── number_4.txt ├── numbers.txt ├── numbers_2.txt ├── somefile.txt ├── testfile_1.txt └── testfile_2.txt ├── Chapter 7 ├── actorfile_1.txt ├── actorfile_10.txt ├── actorfile_6.txt ├── actorfile_9.txt ├── alignment_1.txt ├── alignment_2.txt ├── excerpt.txt ├── excerpt_2.txt ├── expand.txt ├── expand_1a.txt ├── expand_3.txt ├── fruit.txt ├── howdy.txt ├── line_number_1.txt ├── lines.txt ├── lines_2.txt ├── macgruder.txt ├── newfile.txt ├── newfile_2.txt ├── pg6409.txt ├── spaces.txt ├── spaces_2.txt ├── translation.txt ├── translation_10.txt ├── translation_11.txt ├── translation_12.txt ├── translation_13.txt ├── translation_2.txt ├── translation_3.txt ├── translation_4.txt ├── translation_5.txt ├── translation_6.txt ├── translation_7.txt ├── translation_8.txt ├── translation_9.txt ├── xargs_sort.txt └── xargs_test.txt ├── Chapter 8 ├── UID-0_check.sh ├── am_i_root_1.sh ├── am_i_root_2.sh ├── am_i_root_3.sh ├── am_i_root_4.sh ├── attackers.sh ├── attackers_2.sh ├── break_demo.sh ├── car_demo_2.sh ├── car_demo_3.sh ├── command_substitution_1.sh ├── command_substitution_2.sh ├── ex.sh ├── ex_2.sh ├── ex_3.sh ├── exit.sh ├── for_continue.sh ├── hard_drive.sh ├── infinite_loop.sh ├── ip.sh ├── ipaddress_count.sh ├── list_demo.sh ├── netchk.sh ├── os-test.sh ├── position_demo.sh ├── position_demo_2.sh ├── position_demo_3.sh ├── read_file.sh ├── secret_word.sh ├── term_color.sh ├── test_graphics_3.sh ├── tests-test.sh ├── tests-test_2.sh ├── while_continue.sh ├── while_demo.sh └── while_demo2.sh ├── Chapter_16 ├── dialog-hello-temp.sh ├── dialog-hello.sh ├── dialog-hello2.sh ├── xdialog-hello.sh ├── xdialog-hello2.sh ├── xdialog-menu-test.sh ├── xdialog-menu-test2.sh ├── yad-file-checksum1.sh ├── yad-file-checksum2.sh ├── yad-form-auto1.sh ├── yad-form-auto2.sh ├── yad-form-auto3.sh ├── yad-form-auto4.sh ├── yad-image-resize1.sh ├── yad-image-resize2.sh ├── yad-image-resize3.sh ├── yad-image-resize4.sh └── yad-system-tool.sh ├── Chapter_19 ├── fly.sh ├── ip-2.sh ├── ip-3.sh ├── ip-4.sh ├── ip-5.sh ├── math6.sh ├── math7.sh ├── math8.sh ├── sysinfo_posix.lib ├── system_info_posix.sh ├── test-test-1.sh ├── test-test-2.sh └── test-test-3.sh ├── Chapter_20 ├── acl_demo.sh ├── eval-test1-alternative.sh ├── eval-test1.sh ├── eval-test2.sh ├── eval-test3.sh ├── eval-test4.sh ├── eval-test5.sh ├── eval-test6.sh ├── go-remote.sh ├── harmless-program.sh ├── path-test1.sh ├── sudo_demo1.sh ├── supersecret.sh ├── tmp_file1.sh ├── tmp_file2.sh ├── tmp_file3.sh ├── tmp_file4.sh ├── tmp_file5.sh └── while_demo.sh ├── Chapter_21 ├── bad_dir1.sh ├── bad_dir2.sh ├── bad_dir3.sh ├── bug1.sh ├── bug2.sh ├── bug3.sh ├── bug4.sh ├── bug5.sh ├── bug6.sh ├── quote_problem1.sh ├── quote_problem2.sh ├── quote_problem3.sh ├── quote_problem4.sh ├── quote_problem5.sh ├── quote_problem6.sh ├── set_e_fails1.sh ├── set_e_fails2.sh ├── space_problem1.sh ├── unassigned_var1.sh ├── unassigned_var2.sh ├── unassigned_var3.sh ├── wild_loop1.sh ├── wild_loop2.sh ├── xdialog-hello2-broken.sh ├── xdialog-hello2-broken2.sh ├── xdialog-hello2-broken3.sh ├── xdialog-hello2-broken4.sh └── xdialog-hello2.sh ├── Chapter_22 ├── find_suid.sh ├── find_suid2.sh ├── fruit_array.sh ├── squareroot.sh └── zsh_time.sh ├── Chapter_23 ├── check-cpu.ps1 ├── math1.ps1 └── math2.ps1 ├── LICENSE ├── README.md ├── chapter_10 ├── coingecko-case.sh ├── coingecko.sh ├── donnie_library ├── greet_func.sh ├── greet_func2.sh ├── greet_func3.sh ├── greet_func4.sh ├── howdy_func.sh ├── library_demo1.sh ├── library_demo2.sh ├── library_demo3.sh ├── mycoins.sh ├── network_func.sh ├── value1.sh ├── value2.sh ├── value3.sh ├── value4.sh └── value5.sh ├── chapter_11 ├── baseconv.lib ├── baseconv_local.lib ├── bc-func_demo.sh ├── bc-func_local_demo.sh ├── checkbook_bc ├── geometry1.txt ├── math1.sh ├── math2.sh ├── math3.sh ├── math4.sh ├── math5.sh ├── new_year.sh ├── os_combined-ww-monthly-202209-202309-bar.csv ├── pi_bc.sh └── report_os.sh ├── chapter_12 ├── haskell.sh ├── here-doc1-tabs-dash.sh ├── here-doc1-tabs.sh ├── here-doc1.sh ├── here-doc2.sh ├── here-doc3-wrong.sh ├── here-doc3.sh ├── here-doc4.sh ├── interactive_script.sh ├── sysinfo.lib └── system_info.sh ├── chapter_13 ├── rename_extension.sh ├── rename_extension2.sh └── resize.sh ├── chapter_14 ├── access_log_parse.sh ├── sysinfo.lib ├── system_info.sh ├── user_list.sh └── user_list2.sh ├── chapter_15 ├── add_fields.awk ├── average_fields.awk ├── average_temp.awk ├── awk_kernel1.awk ├── awk_kernel2.awk ├── awk_kernel3.awk ├── awk_kernel4.awk ├── celsius_to_fahrenheit.awk ├── celsius_to_fahrenheit2.awk ├── fahrenheit_to_celsius.awk ├── fahrenheit_to_celsius2.awk ├── fahrenheit_to_celsius3.awk ├── inventory.awk ├── inventory.txt ├── masc-fem.awk ├── numbers_fields.txt ├── spanish_words.txt ├── temps.txt ├── x86-64-level_check.awk └── x86-64-level_check2.awk ├── chapter_18 ├── bash-portscan1.sh ├── bash-portscan2.sh ├── firewall-blacklist_array.sh ├── firewall-blacklist_xargs.sh ├── ip-address_blacklist.txt ├── os-detect.sh ├── rootlock_1.sh ├── rootlock_2.sh ├── rootlock_3.sh └── user_activity_1.sh ├── chapter_9 ├── CentOS-Base.repo ├── actorfile_11.txt ├── add-repos.sh ├── blank_lines.txt ├── cars_2.txt ├── cars_3.txt ├── cars_4.txt ├── demo_change.txt ├── demo_compound.txt ├── demo_compound_2.txt ├── demo_compound_3.txt ├── demo_insert.txt ├── demo_sub.txt ├── demo_write.txt ├── demo_write_2.txt ├── ing.txt ├── ing_2.txt ├── myfile_3.txt ├── pg6409.txt ├── riding.txt ├── sed_test.sh ├── ssn.txt ├── ssn_2.txt ├── tab.txt └── tom.txt ├── chpater_17 ├── coingecko-getops.sh ├── getopts-demo1.sh ├── getopts-demo2.sh ├── getopts-demo3.sh ├── getopts-demo4.sh └── tecmint_monitor.sh └── getopts-demo1.sh /Chapter 6/actorfile_1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 6/actorfile_1.txt -------------------------------------------------------------------------------- /Chapter 6/actorfile_2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 6/actorfile_2.txt -------------------------------------------------------------------------------- /Chapter 6/actorfile_6.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 6/actorfile_6.txt -------------------------------------------------------------------------------- /Chapter 6/autos.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 6/autos.txt -------------------------------------------------------------------------------- /Chapter 6/fruit.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 6/fruit.txt -------------------------------------------------------------------------------- /Chapter 6/myfile_1.txt: -------------------------------------------------------------------------------- 1 | one 2 | three 3 | five 4 | seven 5 | nine 6 | -------------------------------------------------------------------------------- /Chapter 6/myfile_2.txt: -------------------------------------------------------------------------------- 1 | two 2 | four 3 | six 4 | eight 5 | ten 6 | -------------------------------------------------------------------------------- /Chapter 6/num_1.txt: -------------------------------------------------------------------------------- 1 | 1 one 2 | 3 three 3 | 4 four 4 | 7 seven 5 | 5 five 6 | -------------------------------------------------------------------------------- /Chapter 6/num_2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 6/num_2.txt -------------------------------------------------------------------------------- /Chapter 6/number_1.txt: -------------------------------------------------------------------------------- 1 | one 2 | 1 3 | uno 4 | -------------------------------------------------------------------------------- /Chapter 6/number_2.txt: -------------------------------------------------------------------------------- 1 | two 2 | 2 3 | dos 4 | -------------------------------------------------------------------------------- /Chapter 6/number_3.txt: -------------------------------------------------------------------------------- 1 | three 2 | 3 3 | tres 4 | -------------------------------------------------------------------------------- /Chapter 6/number_4.txt: -------------------------------------------------------------------------------- 1 | four 2 | 4 3 | cuatro 4 | -------------------------------------------------------------------------------- /Chapter 6/numbers.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 6/numbers.txt -------------------------------------------------------------------------------- /Chapter 6/numbers_2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 6/numbers_2.txt -------------------------------------------------------------------------------- /Chapter 6/somefile.txt: -------------------------------------------------------------------------------- 1 | placeholder 2 | -------------------------------------------------------------------------------- /Chapter 6/testfile_1.txt: -------------------------------------------------------------------------------- 1 | one 2 | two 3 | three 4 | four 5 | five 6 | six 7 | -------------------------------------------------------------------------------- /Chapter 6/testfile_2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 6/testfile_2.txt -------------------------------------------------------------------------------- /Chapter 7/actorfile_1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 7/actorfile_1.txt -------------------------------------------------------------------------------- /Chapter 7/actorfile_10.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 7/actorfile_10.txt -------------------------------------------------------------------------------- /Chapter 7/actorfile_6.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 7/actorfile_6.txt -------------------------------------------------------------------------------- /Chapter 7/actorfile_9.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 7/actorfile_9.txt -------------------------------------------------------------------------------- /Chapter 7/alignment_1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 7/alignment_1.txt -------------------------------------------------------------------------------- /Chapter 7/alignment_2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 7/alignment_2.txt -------------------------------------------------------------------------------- /Chapter 7/excerpt.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 7/excerpt.txt -------------------------------------------------------------------------------- /Chapter 7/excerpt_2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 7/excerpt_2.txt -------------------------------------------------------------------------------- /Chapter 7/expand.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 7/expand.txt -------------------------------------------------------------------------------- /Chapter 7/expand_1a.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 7/expand_1a.txt -------------------------------------------------------------------------------- /Chapter 7/expand_3.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 7/expand_3.txt -------------------------------------------------------------------------------- /Chapter 7/fruit.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 7/fruit.txt -------------------------------------------------------------------------------- /Chapter 7/howdy.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 7/howdy.txt -------------------------------------------------------------------------------- /Chapter 7/line_number_1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 7/line_number_1.txt -------------------------------------------------------------------------------- /Chapter 7/lines.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 7/lines.txt -------------------------------------------------------------------------------- /Chapter 7/lines_2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 7/lines_2.txt -------------------------------------------------------------------------------- /Chapter 7/macgruder.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 7/macgruder.txt -------------------------------------------------------------------------------- /Chapter 7/newfile.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 7/newfile.txt -------------------------------------------------------------------------------- /Chapter 7/newfile_2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 7/newfile_2.txt -------------------------------------------------------------------------------- /Chapter 7/pg6409.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 7/pg6409.txt -------------------------------------------------------------------------------- /Chapter 7/spaces.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 7/spaces.txt -------------------------------------------------------------------------------- /Chapter 7/spaces_2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 7/spaces_2.txt -------------------------------------------------------------------------------- /Chapter 7/translation.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 7/translation.txt -------------------------------------------------------------------------------- /Chapter 7/translation_10.txt: -------------------------------------------------------------------------------- 1 | Now, let's remove 2 | all of the 3 | control characters. 4 | -------------------------------------------------------------------------------- /Chapter 7/translation_11.txt: -------------------------------------------------------------------------------- 1 | Now, 2 | I just want to 3 | delete the 4 | newline characters. 5 | -------------------------------------------------------------------------------- /Chapter 7/translation_12.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 7/translation_12.txt -------------------------------------------------------------------------------- /Chapter 7/translation_13.txt: -------------------------------------------------------------------------------- 1 | tennessee 2 | -------------------------------------------------------------------------------- /Chapter 7/translation_2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 7/translation_2.txt -------------------------------------------------------------------------------- /Chapter 7/translation_3.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 7/translation_3.txt -------------------------------------------------------------------------------- /Chapter 7/translation_4.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 7/translation_4.txt -------------------------------------------------------------------------------- /Chapter 7/translation_5.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 7/translation_5.txt -------------------------------------------------------------------------------- /Chapter 7/translation_6.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 7/translation_6.txt -------------------------------------------------------------------------------- /Chapter 7/translation_7.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 7/translation_7.txt -------------------------------------------------------------------------------- /Chapter 7/translation_8.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 7/translation_8.txt -------------------------------------------------------------------------------- /Chapter 7/translation_9.txt: -------------------------------------------------------------------------------- 1 | This time, we'll remove everything 2 | that ISN'T a lower-case letter. 3 | -------------------------------------------------------------------------------- /Chapter 7/xargs_sort.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 7/xargs_sort.txt -------------------------------------------------------------------------------- /Chapter 7/xargs_test.txt: -------------------------------------------------------------------------------- 1 | Frank 2 | Goldie 3 | Vicky 4 | -------------------------------------------------------------------------------- /Chapter 8/UID-0_check.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 8/UID-0_check.sh -------------------------------------------------------------------------------- /Chapter 8/am_i_root_1.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 8/am_i_root_1.sh -------------------------------------------------------------------------------- /Chapter 8/am_i_root_2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 8/am_i_root_2.sh -------------------------------------------------------------------------------- /Chapter 8/am_i_root_3.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 8/am_i_root_3.sh -------------------------------------------------------------------------------- /Chapter 8/am_i_root_4.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 8/am_i_root_4.sh -------------------------------------------------------------------------------- /Chapter 8/attackers.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 8/attackers.sh -------------------------------------------------------------------------------- /Chapter 8/attackers_2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 8/attackers_2.sh -------------------------------------------------------------------------------- /Chapter 8/break_demo.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 8/break_demo.sh -------------------------------------------------------------------------------- /Chapter 8/car_demo_2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 8/car_demo_2.sh -------------------------------------------------------------------------------- /Chapter 8/car_demo_3.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 8/car_demo_3.sh -------------------------------------------------------------------------------- /Chapter 8/command_substitution_1.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 8/command_substitution_1.sh -------------------------------------------------------------------------------- /Chapter 8/command_substitution_2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 8/command_substitution_2.sh -------------------------------------------------------------------------------- /Chapter 8/ex.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 8/ex.sh -------------------------------------------------------------------------------- /Chapter 8/ex_2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 8/ex_2.sh -------------------------------------------------------------------------------- /Chapter 8/ex_3.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 8/ex_3.sh -------------------------------------------------------------------------------- /Chapter 8/exit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | exit n 3 | -------------------------------------------------------------------------------- /Chapter 8/for_continue.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 8/for_continue.sh -------------------------------------------------------------------------------- /Chapter 8/hard_drive.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 8/hard_drive.sh -------------------------------------------------------------------------------- /Chapter 8/infinite_loop.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 8/infinite_loop.sh -------------------------------------------------------------------------------- /Chapter 8/ip.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 8/ip.sh -------------------------------------------------------------------------------- /Chapter 8/ipaddress_count.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 8/ipaddress_count.sh -------------------------------------------------------------------------------- /Chapter 8/list_demo.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 8/list_demo.sh -------------------------------------------------------------------------------- /Chapter 8/netchk.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 8/netchk.sh -------------------------------------------------------------------------------- /Chapter 8/os-test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 8/os-test.sh -------------------------------------------------------------------------------- /Chapter 8/position_demo.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 8/position_demo.sh -------------------------------------------------------------------------------- /Chapter 8/position_demo_2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 8/position_demo_2.sh -------------------------------------------------------------------------------- /Chapter 8/position_demo_3.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 8/position_demo_3.sh -------------------------------------------------------------------------------- /Chapter 8/read_file.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 8/read_file.sh -------------------------------------------------------------------------------- /Chapter 8/secret_word.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 8/secret_word.sh -------------------------------------------------------------------------------- /Chapter 8/term_color.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 8/term_color.sh -------------------------------------------------------------------------------- /Chapter 8/test_graphics_3.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 8/test_graphics_3.sh -------------------------------------------------------------------------------- /Chapter 8/tests-test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 8/tests-test.sh -------------------------------------------------------------------------------- /Chapter 8/tests-test_2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 8/tests-test_2.sh -------------------------------------------------------------------------------- /Chapter 8/while_continue.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 8/while_continue.sh -------------------------------------------------------------------------------- /Chapter 8/while_demo.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter 8/while_demo.sh -------------------------------------------------------------------------------- /Chapter 8/while_demo2.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | x=10 3 | while [[ $x -gt 0 ]]; do 4 | ((x--)) 5 | echo $x 6 | done 7 | -------------------------------------------------------------------------------- /Chapter_16/dialog-hello-temp.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_16/dialog-hello-temp.sh -------------------------------------------------------------------------------- /Chapter_16/dialog-hello.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_16/dialog-hello.sh -------------------------------------------------------------------------------- /Chapter_16/dialog-hello2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_16/dialog-hello2.sh -------------------------------------------------------------------------------- /Chapter_16/xdialog-hello.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_16/xdialog-hello.sh -------------------------------------------------------------------------------- /Chapter_16/xdialog-hello2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_16/xdialog-hello2.sh -------------------------------------------------------------------------------- /Chapter_16/xdialog-menu-test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_16/xdialog-menu-test.sh -------------------------------------------------------------------------------- /Chapter_16/xdialog-menu-test2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_16/xdialog-menu-test2.sh -------------------------------------------------------------------------------- /Chapter_16/yad-file-checksum1.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_16/yad-file-checksum1.sh -------------------------------------------------------------------------------- /Chapter_16/yad-file-checksum2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_16/yad-file-checksum2.sh -------------------------------------------------------------------------------- /Chapter_16/yad-form-auto1.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_16/yad-form-auto1.sh -------------------------------------------------------------------------------- /Chapter_16/yad-form-auto2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_16/yad-form-auto2.sh -------------------------------------------------------------------------------- /Chapter_16/yad-form-auto3.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_16/yad-form-auto3.sh -------------------------------------------------------------------------------- /Chapter_16/yad-form-auto4.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_16/yad-form-auto4.sh -------------------------------------------------------------------------------- /Chapter_16/yad-image-resize1.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_16/yad-image-resize1.sh -------------------------------------------------------------------------------- /Chapter_16/yad-image-resize2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_16/yad-image-resize2.sh -------------------------------------------------------------------------------- /Chapter_16/yad-image-resize3.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_16/yad-image-resize3.sh -------------------------------------------------------------------------------- /Chapter_16/yad-image-resize4.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_16/yad-image-resize4.sh -------------------------------------------------------------------------------- /Chapter_16/yad-system-tool.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_16/yad-system-tool.sh -------------------------------------------------------------------------------- /Chapter_19/fly.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_19/fly.sh -------------------------------------------------------------------------------- /Chapter_19/ip-2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_19/ip-2.sh -------------------------------------------------------------------------------- /Chapter_19/ip-3.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_19/ip-3.sh -------------------------------------------------------------------------------- /Chapter_19/ip-4.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_19/ip-4.sh -------------------------------------------------------------------------------- /Chapter_19/ip-5.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_19/ip-5.sh -------------------------------------------------------------------------------- /Chapter_19/math6.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_19/math6.sh -------------------------------------------------------------------------------- /Chapter_19/math7.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_19/math7.sh -------------------------------------------------------------------------------- /Chapter_19/math8.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_19/math8.sh -------------------------------------------------------------------------------- /Chapter_19/sysinfo_posix.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_19/sysinfo_posix.lib -------------------------------------------------------------------------------- /Chapter_19/system_info_posix.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_19/system_info_posix.sh -------------------------------------------------------------------------------- /Chapter_19/test-test-1.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_19/test-test-1.sh -------------------------------------------------------------------------------- /Chapter_19/test-test-2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_19/test-test-2.sh -------------------------------------------------------------------------------- /Chapter_19/test-test-3.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_19/test-test-3.sh -------------------------------------------------------------------------------- /Chapter_20/acl_demo.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | echo "This is a demo of ACLs." 3 | -------------------------------------------------------------------------------- /Chapter_20/eval-test1-alternative.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_20/eval-test1-alternative.sh -------------------------------------------------------------------------------- /Chapter_20/eval-test1.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_20/eval-test1.sh -------------------------------------------------------------------------------- /Chapter_20/eval-test2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_20/eval-test2.sh -------------------------------------------------------------------------------- /Chapter_20/eval-test3.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | eval $1 4 | -------------------------------------------------------------------------------- /Chapter_20/eval-test4.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | a=$1 3 | echo $(( a + 1 )) 4 | -------------------------------------------------------------------------------- /Chapter_20/eval-test5.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_20/eval-test5.sh -------------------------------------------------------------------------------- /Chapter_20/eval-test6.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_20/eval-test6.sh -------------------------------------------------------------------------------- /Chapter_20/go-remote.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_20/go-remote.sh -------------------------------------------------------------------------------- /Chapter_20/harmless-program.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_20/harmless-program.sh -------------------------------------------------------------------------------- /Chapter_20/path-test1.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_20/path-test1.sh -------------------------------------------------------------------------------- /Chapter_20/sudo_demo1.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | echo "This is a demo of sudo privileges." 3 | -------------------------------------------------------------------------------- /Chapter_20/supersecret.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_20/supersecret.sh -------------------------------------------------------------------------------- /Chapter_20/tmp_file1.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_20/tmp_file1.sh -------------------------------------------------------------------------------- /Chapter_20/tmp_file2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_20/tmp_file2.sh -------------------------------------------------------------------------------- /Chapter_20/tmp_file3.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_20/tmp_file3.sh -------------------------------------------------------------------------------- /Chapter_20/tmp_file4.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_20/tmp_file4.sh -------------------------------------------------------------------------------- /Chapter_20/tmp_file5.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_20/tmp_file5.sh -------------------------------------------------------------------------------- /Chapter_20/while_demo.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_20/while_demo.sh -------------------------------------------------------------------------------- /Chapter_21/bad_dir1.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_21/bad_dir1.sh -------------------------------------------------------------------------------- /Chapter_21/bad_dir2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_21/bad_dir2.sh -------------------------------------------------------------------------------- /Chapter_21/bad_dir3.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_21/bad_dir3.sh -------------------------------------------------------------------------------- /Chapter_21/bug1.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_21/bug1.sh -------------------------------------------------------------------------------- /Chapter_21/bug2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_21/bug2.sh -------------------------------------------------------------------------------- /Chapter_21/bug3.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_21/bug3.sh -------------------------------------------------------------------------------- /Chapter_21/bug4.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_21/bug4.sh -------------------------------------------------------------------------------- /Chapter_21/bug5.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_21/bug5.sh -------------------------------------------------------------------------------- /Chapter_21/bug6.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_21/bug6.sh -------------------------------------------------------------------------------- /Chapter_21/quote_problem1.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_21/quote_problem1.sh -------------------------------------------------------------------------------- /Chapter_21/quote_problem2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_21/quote_problem2.sh -------------------------------------------------------------------------------- /Chapter_21/quote_problem3.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_21/quote_problem3.sh -------------------------------------------------------------------------------- /Chapter_21/quote_problem4.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_21/quote_problem4.sh -------------------------------------------------------------------------------- /Chapter_21/quote_problem5.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_21/quote_problem5.sh -------------------------------------------------------------------------------- /Chapter_21/quote_problem6.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_21/quote_problem6.sh -------------------------------------------------------------------------------- /Chapter_21/set_e_fails1.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -e 3 | i=0 4 | let i++ 5 | echo "i is $i" 6 | -------------------------------------------------------------------------------- /Chapter_21/set_e_fails2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_21/set_e_fails2.sh -------------------------------------------------------------------------------- /Chapter_21/space_problem1.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_21/space_problem1.sh -------------------------------------------------------------------------------- /Chapter_21/unassigned_var1.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_21/unassigned_var1.sh -------------------------------------------------------------------------------- /Chapter_21/unassigned_var2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_21/unassigned_var2.sh -------------------------------------------------------------------------------- /Chapter_21/unassigned_var3.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_21/unassigned_var3.sh -------------------------------------------------------------------------------- /Chapter_21/wild_loop1.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_21/wild_loop1.sh -------------------------------------------------------------------------------- /Chapter_21/wild_loop2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_21/wild_loop2.sh -------------------------------------------------------------------------------- /Chapter_21/xdialog-hello2-broken.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_21/xdialog-hello2-broken.sh -------------------------------------------------------------------------------- /Chapter_21/xdialog-hello2-broken2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_21/xdialog-hello2-broken2.sh -------------------------------------------------------------------------------- /Chapter_21/xdialog-hello2-broken3.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_21/xdialog-hello2-broken3.sh -------------------------------------------------------------------------------- /Chapter_21/xdialog-hello2-broken4.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_21/xdialog-hello2-broken4.sh -------------------------------------------------------------------------------- /Chapter_21/xdialog-hello2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_21/xdialog-hello2.sh -------------------------------------------------------------------------------- /Chapter_22/find_suid.sh: -------------------------------------------------------------------------------- 1 | #!/bin/zsh 2 | 3 | ls -ld /**/*(s) > suid_files.txt 4 | -------------------------------------------------------------------------------- /Chapter_22/find_suid2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_22/find_suid2.sh -------------------------------------------------------------------------------- /Chapter_22/fruit_array.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_22/fruit_array.sh -------------------------------------------------------------------------------- /Chapter_22/squareroot.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_22/squareroot.sh -------------------------------------------------------------------------------- /Chapter_22/zsh_time.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_22/zsh_time.sh -------------------------------------------------------------------------------- /Chapter_23/check-cpu.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_23/check-cpu.ps1 -------------------------------------------------------------------------------- /Chapter_23/math1.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_23/math1.ps1 -------------------------------------------------------------------------------- /Chapter_23/math2.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/Chapter_23/math2.ps1 -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/README.md -------------------------------------------------------------------------------- /chapter_10/coingecko-case.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_10/coingecko-case.sh -------------------------------------------------------------------------------- /chapter_10/coingecko.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_10/coingecko.sh -------------------------------------------------------------------------------- /chapter_10/donnie_library: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_10/donnie_library -------------------------------------------------------------------------------- /chapter_10/greet_func.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_10/greet_func.sh -------------------------------------------------------------------------------- /chapter_10/greet_func2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_10/greet_func2.sh -------------------------------------------------------------------------------- /chapter_10/greet_func3.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_10/greet_func3.sh -------------------------------------------------------------------------------- /chapter_10/greet_func4.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_10/greet_func4.sh -------------------------------------------------------------------------------- /chapter_10/howdy_func.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_10/howdy_func.sh -------------------------------------------------------------------------------- /chapter_10/library_demo1.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_10/library_demo1.sh -------------------------------------------------------------------------------- /chapter_10/library_demo2.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | . /usr/local/lib/donnie_library 3 | howdy_georgia 4 | -------------------------------------------------------------------------------- /chapter_10/library_demo3.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | . /usr/local/lib/donnie_library 3 | network $1 4 | -------------------------------------------------------------------------------- /chapter_10/mycoins.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_10/mycoins.sh -------------------------------------------------------------------------------- /chapter_10/network_func.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_10/network_func.sh -------------------------------------------------------------------------------- /chapter_10/value1.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_10/value1.sh -------------------------------------------------------------------------------- /chapter_10/value2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_10/value2.sh -------------------------------------------------------------------------------- /chapter_10/value3.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_10/value3.sh -------------------------------------------------------------------------------- /chapter_10/value4.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_10/value4.sh -------------------------------------------------------------------------------- /chapter_10/value5.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_10/value5.sh -------------------------------------------------------------------------------- /chapter_11/baseconv.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_11/baseconv.lib -------------------------------------------------------------------------------- /chapter_11/baseconv_local.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_11/baseconv_local.lib -------------------------------------------------------------------------------- /chapter_11/bc-func_demo.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_11/bc-func_demo.sh -------------------------------------------------------------------------------- /chapter_11/bc-func_local_demo.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_11/bc-func_local_demo.sh -------------------------------------------------------------------------------- /chapter_11/checkbook_bc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_11/checkbook_bc -------------------------------------------------------------------------------- /chapter_11/geometry1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_11/geometry1.txt -------------------------------------------------------------------------------- /chapter_11/math1.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_11/math1.sh -------------------------------------------------------------------------------- /chapter_11/math2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_11/math2.sh -------------------------------------------------------------------------------- /chapter_11/math3.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_11/math3.sh -------------------------------------------------------------------------------- /chapter_11/math4.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_11/math4.sh -------------------------------------------------------------------------------- /chapter_11/math5.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_11/math5.sh -------------------------------------------------------------------------------- /chapter_11/new_year.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_11/new_year.sh -------------------------------------------------------------------------------- /chapter_11/os_combined-ww-monthly-202209-202309-bar.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_11/os_combined-ww-monthly-202209-202309-bar.csv -------------------------------------------------------------------------------- /chapter_11/pi_bc.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_11/pi_bc.sh -------------------------------------------------------------------------------- /chapter_11/report_os.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_11/report_os.sh -------------------------------------------------------------------------------- /chapter_12/haskell.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_12/haskell.sh -------------------------------------------------------------------------------- /chapter_12/here-doc1-tabs-dash.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_12/here-doc1-tabs-dash.sh -------------------------------------------------------------------------------- /chapter_12/here-doc1-tabs.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_12/here-doc1-tabs.sh -------------------------------------------------------------------------------- /chapter_12/here-doc1.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_12/here-doc1.sh -------------------------------------------------------------------------------- /chapter_12/here-doc2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_12/here-doc2.sh -------------------------------------------------------------------------------- /chapter_12/here-doc3-wrong.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_12/here-doc3-wrong.sh -------------------------------------------------------------------------------- /chapter_12/here-doc3.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_12/here-doc3.sh -------------------------------------------------------------------------------- /chapter_12/here-doc4.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_12/here-doc4.sh -------------------------------------------------------------------------------- /chapter_12/interactive_script.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_12/interactive_script.sh -------------------------------------------------------------------------------- /chapter_12/sysinfo.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_12/sysinfo.lib -------------------------------------------------------------------------------- /chapter_12/system_info.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_12/system_info.sh -------------------------------------------------------------------------------- /chapter_13/rename_extension.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_13/rename_extension.sh -------------------------------------------------------------------------------- /chapter_13/rename_extension2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_13/rename_extension2.sh -------------------------------------------------------------------------------- /chapter_13/resize.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_13/resize.sh -------------------------------------------------------------------------------- /chapter_14/access_log_parse.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_14/access_log_parse.sh -------------------------------------------------------------------------------- /chapter_14/sysinfo.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_14/sysinfo.lib -------------------------------------------------------------------------------- /chapter_14/system_info.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_14/system_info.sh -------------------------------------------------------------------------------- /chapter_14/user_list.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_14/user_list.sh -------------------------------------------------------------------------------- /chapter_14/user_list2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_14/user_list2.sh -------------------------------------------------------------------------------- /chapter_15/add_fields.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_15/add_fields.awk -------------------------------------------------------------------------------- /chapter_15/average_fields.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_15/average_fields.awk -------------------------------------------------------------------------------- /chapter_15/average_temp.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_15/average_temp.awk -------------------------------------------------------------------------------- /chapter_15/awk_kernel1.awk: -------------------------------------------------------------------------------- 1 | /kernel/ 2 | -------------------------------------------------------------------------------- /chapter_15/awk_kernel2.awk: -------------------------------------------------------------------------------- 1 | #!/usr/bin/awk -f 2 | 3 | { 4 | if(/kernel/) { 5 | print $0 6 | } 7 | 8 | } 9 | -------------------------------------------------------------------------------- /chapter_15/awk_kernel3.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_15/awk_kernel3.awk -------------------------------------------------------------------------------- /chapter_15/awk_kernel4.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_15/awk_kernel4.awk -------------------------------------------------------------------------------- /chapter_15/celsius_to_fahrenheit.awk: -------------------------------------------------------------------------------- 1 | #!/usr/bin/awk -f 2 | 3 | NR==1 ; NR>1 {print ($2=="C" ? (($1+32)*9) / 5 : $1)" Fahrenheit"} 4 | -------------------------------------------------------------------------------- /chapter_15/celsius_to_fahrenheit2.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_15/celsius_to_fahrenheit2.awk -------------------------------------------------------------------------------- /chapter_15/fahrenheit_to_celsius.awk: -------------------------------------------------------------------------------- 1 | #!/usr/bin/awk -f 2 | 3 | NR==1 ; NR>1{print ($2=="F" ? (($1-32)*5) / 9 : $1)"\t\t Celsius"} 4 | -------------------------------------------------------------------------------- /chapter_15/fahrenheit_to_celsius2.awk: -------------------------------------------------------------------------------- 1 | #!/usr/bin/awk -f 2 | 3 | NR==1; NR>1{printf("%-11s %s\n",($2=="F" ? (($1-32)*5) / 9 : $1), "Celsius")} 4 | -------------------------------------------------------------------------------- /chapter_15/fahrenheit_to_celsius3.awk: -------------------------------------------------------------------------------- 1 | #!/usr/bin/awk -f 2 | 3 | NR==1; NR>1{printf("%.2f %s\n",($2=="F" ? (($1-32)*5) / 9 : $1), "Celsius")} 4 | -------------------------------------------------------------------------------- /chapter_15/inventory.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_15/inventory.awk -------------------------------------------------------------------------------- /chapter_15/inventory.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_15/inventory.txt -------------------------------------------------------------------------------- /chapter_15/masc-fem.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_15/masc-fem.awk -------------------------------------------------------------------------------- /chapter_15/numbers_fields.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_15/numbers_fields.txt -------------------------------------------------------------------------------- /chapter_15/spanish_words.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_15/spanish_words.txt -------------------------------------------------------------------------------- /chapter_15/temps.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_15/temps.txt -------------------------------------------------------------------------------- /chapter_15/x86-64-level_check.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_15/x86-64-level_check.awk -------------------------------------------------------------------------------- /chapter_15/x86-64-level_check2.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_15/x86-64-level_check2.awk -------------------------------------------------------------------------------- /chapter_18/bash-portscan1.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_18/bash-portscan1.sh -------------------------------------------------------------------------------- /chapter_18/bash-portscan2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_18/bash-portscan2.sh -------------------------------------------------------------------------------- /chapter_18/firewall-blacklist_array.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_18/firewall-blacklist_array.sh -------------------------------------------------------------------------------- /chapter_18/firewall-blacklist_xargs.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_18/firewall-blacklist_xargs.sh -------------------------------------------------------------------------------- /chapter_18/ip-address_blacklist.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_18/ip-address_blacklist.txt -------------------------------------------------------------------------------- /chapter_18/os-detect.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_18/os-detect.sh -------------------------------------------------------------------------------- /chapter_18/rootlock_1.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_18/rootlock_1.sh -------------------------------------------------------------------------------- /chapter_18/rootlock_2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_18/rootlock_2.sh -------------------------------------------------------------------------------- /chapter_18/rootlock_3.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_18/rootlock_3.sh -------------------------------------------------------------------------------- /chapter_18/user_activity_1.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_18/user_activity_1.sh -------------------------------------------------------------------------------- /chapter_9/CentOS-Base.repo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_9/CentOS-Base.repo -------------------------------------------------------------------------------- /chapter_9/actorfile_11.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_9/actorfile_11.txt -------------------------------------------------------------------------------- /chapter_9/add-repos.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_9/add-repos.sh -------------------------------------------------------------------------------- /chapter_9/blank_lines.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_9/blank_lines.txt -------------------------------------------------------------------------------- /chapter_9/cars_2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_9/cars_2.txt -------------------------------------------------------------------------------- /chapter_9/cars_3.txt: -------------------------------------------------------------------------------- 1 | Packard 2 | Kaiser 3 | Frazer 4 | -------------------------------------------------------------------------------- /chapter_9/cars_4.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_9/cars_4.txt -------------------------------------------------------------------------------- /chapter_9/demo_change.txt: -------------------------------------------------------------------------------- 1 | 4,6c\ 2 | Let's replace lines\ 3 | four through six\ 4 | to something else. 5 | -------------------------------------------------------------------------------- /chapter_9/demo_compound.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_9/demo_compound.txt -------------------------------------------------------------------------------- /chapter_9/demo_compound_2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_9/demo_compound_2.txt -------------------------------------------------------------------------------- /chapter_9/demo_compound_3.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_9/demo_compound_3.txt -------------------------------------------------------------------------------- /chapter_9/demo_insert.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_9/demo_insert.txt -------------------------------------------------------------------------------- /chapter_9/demo_sub.txt: -------------------------------------------------------------------------------- 1 | s/line/sentence/p 2 | -------------------------------------------------------------------------------- /chapter_9/demo_write.txt: -------------------------------------------------------------------------------- 1 | s/line/sentence/w new_myfile.txt 2 | -------------------------------------------------------------------------------- /chapter_9/demo_write_2.txt: -------------------------------------------------------------------------------- 1 | 4,7w new_2_myfile.txt 2 | -------------------------------------------------------------------------------- /chapter_9/ing.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_9/ing.txt -------------------------------------------------------------------------------- /chapter_9/ing_2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_9/ing_2.txt -------------------------------------------------------------------------------- /chapter_9/myfile_3.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_9/myfile_3.txt -------------------------------------------------------------------------------- /chapter_9/pg6409.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_9/pg6409.txt -------------------------------------------------------------------------------- /chapter_9/riding.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_9/riding.txt -------------------------------------------------------------------------------- /chapter_9/sed_test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_9/sed_test.sh -------------------------------------------------------------------------------- /chapter_9/ssn.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_9/ssn.txt -------------------------------------------------------------------------------- /chapter_9/ssn_2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_9/ssn_2.txt -------------------------------------------------------------------------------- /chapter_9/tab.txt: -------------------------------------------------------------------------------- 1 | 2,4s/^./\t&/ 2 | 8c\ 3 | This really is the last line. 4 | 1d 5 | -------------------------------------------------------------------------------- /chapter_9/tom.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chapter_9/tom.txt -------------------------------------------------------------------------------- /chpater_17/coingecko-getops.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chpater_17/coingecko-getops.sh -------------------------------------------------------------------------------- /chpater_17/getopts-demo1.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chpater_17/getopts-demo1.sh -------------------------------------------------------------------------------- /chpater_17/getopts-demo2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chpater_17/getopts-demo2.sh -------------------------------------------------------------------------------- /chpater_17/getopts-demo3.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chpater_17/getopts-demo3.sh -------------------------------------------------------------------------------- /chpater_17/getopts-demo4.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chpater_17/getopts-demo4.sh -------------------------------------------------------------------------------- /chpater_17/tecmint_monitor.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/chpater_17/tecmint_monitor.sh -------------------------------------------------------------------------------- /getopts-demo1.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/The-Ultimate-Linux-Shell-Scripting-Guide/HEAD/getopts-demo1.sh --------------------------------------------------------------------------------