
Explore advanced Bash scripting to automate Linux, macOS, UNIX, and Windows tasks, set up Ubuntu 16.04 LTS in VirtualBox, and boost productivity with shell features and debugging.
Enable closed captions to ensure on-screen text is visible while exploring advanced bash for automation and productivity.
Explore the section 2 intro of advanced bash for automation and productivity boost as part of the learn advanced bash for automation and productivity boost course.
Configure Ubuntu Linux for labs by creating a 64-bit Ubuntu Linux virtual machine in Oracle VM VirtualBox on Windows, install Ubuntu Desktop, extension pack, and essential tools like Sublime Text.
Discover the fundamentals of section 3 in advanced Bash for automation and productivity boost, focusing on techniques to streamline workflows.
Discover the basics of BASH scripting, including the sha-bang line at /bin/bash. Practice with a simple script that echoes Hello BASH! to the console.
Compare double and single quotes in Bash, showing how double quotes expand variables while single quotes print literal text, demonstrated with echo and the counter variable.
Display text in bash with echo and printf, control newlines with -n and -e, and format output using variables and the example Hello John Smith Jr. Your number is 98.
Explore the start of section 4 in the advanced bash for automation and productivity boost course. Discover how to leverage bash to automate tasks and boost efficiency.
Explore shell expansions in Bash, including variable, brace, arithmetic, command substitution, parameter, and indirect expansion, to boost automation and productivity.
Master variable expansion in bash by using braces to separate the count variable from following letters, ensuring correct interpretation. Practice with a lab script that prints 8 and 8th floor.
Master brace expansion in bash, from T{a,o,i} to {3..6}, to generate sequences and file names. See practical uses with cp and mv for copying and renaming, plus a lab practice.
Explore arithmetic expansion in bash with $[ ... ] and $(( ... )); assign results to variables, use the ternary operator, and perform increment and decrement with double parentheses.
Master command substitution in bash to capture external and internal outputs with $(...), explore back-ticks, and daisy-chain results using pipes and double ampersands.
Master bash parameter expansion to receive script arguments with defaults, including nested variable references. Practice brace expansion in labs to correct typos and rename directories.
Explore indirect reference in bash by resolving a value from a container via eval and indirect expansion to yield apple, comparing the new style with the older style.
Master bash shell expansions: variable expansion, brace expansion, arithmetic expansion, command substitution, parameter expansion, and indirect reference—foundations for automation and productivity in scripting.
Introduce section 5 of the advanced bash for automation and productivity boost course, focusing on scripting and command-line workflows.
Master bash decision constructs by learning the if, case, and select constructs, and by using and-list and or-list, including their combination.
Explore the if construct in bash scripting, used to read data and test conditions to trigger automatic actions. Learn two formats: test result true, and function returns zero, for automation.
Learn how the [ -e fname ] test checks file existence in a bash if construct and why quoting fname prevents empty input from breaking the then body.
Master the extended test command for the if construct, using double brackets for condition testing and optional variable quoting, with arithmetic in double parentheses.
Explore the bash if construct and else branch, using extended tests and double equals for comparisons, with a hands-on lab on matching patterns like sample.txt.
Explore bash conditionals with if-then-elif-else and fi, and learn to build a lab script that checks fname1 and fname2 existence and prints results based on existence.
Explore the case construct to test a single variable against multiple values using patterns and the vertical bar or, improving readability, then end with esac and a default branch.
Learn to build a simple bash menu with the select construct and options A, B, C, or Quit. Use $choice and $REPLY to process selections and break on Quit.
Master bash logical and and or lists through short-circuit evaluation, extended test commands, arithmetic expansions, and braces to control multi-command flows.
Explore Bash conditional logic with and-list, or-list, and and-or list by scripting file existence checks for sample.txt using [[ -e $fname ]] and related if-then-else patterns.
Explore the pitfall of the combined and-or test in bash when truncating a readonly file. Use a formal nested if to accurately handle permission denied errors and avoid false messages.
Master bash decision constructs, including if with single and double brackets and double parentheses arithmetic. Explore assignment spacing, case and select for multi-value tests and menus, and the reply variable.
Explore the intro to section 6 in the course on advanced bash for automation and productivity boost, outlining upcoming topics and objectives.
Master loop constructs in Bash, including for, for-in, while, and until loops, and control flow with break, break level, continue, and continue level commands to boost automation.
Learn for loops in bash scripting, including initialization, termination conditions, and updating control variables. See single and multiple loop controls with do and done and semicolon rules.
Learn to use the for-in loop to iterate over sequences and command outputs, employing brace expansion, seq, and command substitution, including ls -1 directory listings, with lab exercises.
Learn to use the while loop for unknown iteration counts, with a stop condition based on the test condition and command results, and practice in the lab.
Learn to implement an endless while loop using while : or true, and exit or break under a terminal condition. A future skeleton script guides system automation tasks.
Explore the until loop, which repeats while the test condition is false, like the while loop, and stops when it becomes true. Learn its syntax with until, do, and done.
Explore bash loop control with the break command to terminate a for loop early, as demonstrated when i equals 2, preventing that value from printing.
Demonstrate break level usage to terminate nested loops, showing break 2-level and break 1-level behavior in a two-loop example.
Master the bash continue command to control loops by skipping iterations and resuming at the next cycle, with practical examples and lab activities to boost automation.
Master loop control in bash by using continue level to skip iterations in nested loops, with practical lab examples showing when to skip inner or outer loops.
Master bash loop constructs, including for, for-in, while, and until loops, and control flow with break and continue, including nested levels, to automate tasks efficiently.
Delve into the section 7 intro of advanced bash, focusing on automation and productivity boost.
Learn to define and invoke bash functions, pass and receive arguments, check argument counts, use local variables to avoid side effects, and return results and exit status, including nested functions.
Master bash function definition and invocation, comparing the form with the function keyword to the shorter form without it, using braces and simple function calls.
Master how to pass and access bash function arguments using $@, $*, and positional parameters like $1 and $2, with quoted spaces.
Learn how to pass and manipulate function arguments in bash using positional parameters, $1 and $2, with shift and printf demonstrations, plus lab exercises.
Learn how the shift command extracts the first parameter as a command in a bash backup script loaded into shell, passes remaining files to corp_backup or my_backup to simulate backups.
Explore bash function arguments and counting with $# and the roles of $@ and $*. In the lab, define a function, pass arguments, and observe how quotes affect parameter counts.
Explore how local variables inside a function stay private, using the local keyword to prevent file-level variables from being altered, with hands-on lab demonstrations.
Learn how to return a value from a bash function using command substitution, minimize side effects on global variables, and implement a compute_diff example in a lab.
Explore how Bash functions return exit codes from 0 to 255, using $? and two idioms to detect success or failure, including modulo 256 behavior.
Explore how a Bash function can return both a result and an exit code, enabling immediate error messages without extra lookups and improving caller performance.
Learn how a bash function can contain nested functions, with the parent_func calling nested_func_1 or nested_func_2 by parameter. Lab shows local scope, proving nested functions stay inside the parent.
Define and invoke bash functions, pass and receive arguments, use local variables to minimize side effects, return data for capture via command substitution, including exit status 0–255, nested functions.
Explore advanced bash concepts in section 8, introducing automation techniques to boost productivity and streamline workflows.
Master regular expressions (regex) to search patterns in text, mastering anchors, quantifiers, groupers, alternation, character classes, back references, and POSIX classes, with hands-on lab practice.
Apply regular expressions to search for patterns in the data variable within a bash script, using the extended test command, pattern search operator, and if-else constructs, including negation with !.
Learn to search data with regular expressions in bash using the =~ operator and the extended test command, including anchors, patterns like n.n and mit, with lab exercises.
Learn techniques to design automation scripts quickly using regular expressions, analyze data, identify patterns, and implement precise automated actions with egrep in bash.
Boost productivity with a five-step Bash design strategy for quick regular expressions. The lab uses built-in Bash, piping to egrep, and -o to print only matches, with practical patterns.
Demonstrates quick regular-expression design using anchors, groups, and quantifiers with egrep in bash, then explores back references and posix patterns to boost automation scripts.
Introduce section 9 in the advanced bash course, outlining how to leverage bash for automation and productivity boosts.
Master standard string operations in bash and craft custom functions to automate daily tasks. In the lab, implement index_of, last_index_of, and change_last_substring to boost productivity.
Learn how to extract substrings and measure string length in bash, remove patterns from string beginnings and ends, and use range patterns like a*m, with an interactive lab.
Learn bash string manipulations to search and replace patterns, handle first and all matches, replace from beginning or end of text, and design a custom last-match operator for automation.
Learn to implement bash string operations index_of and last_index_of, to find the first or last substring index or return -1. The lab shows building, validating inputs, and testing scripts.
Explore how strings empower automations by enabling pattern search and processing. Build and test custom string operators—index_of, last_index_of, and change_last_substring—in the lab for daily system task automation.
Introduce section 10 and lay the foundation for advanced bash automation to boost productivity for busy professionals seeking efficient command line workflows.
Explore one-dimensional bash arrays, including indexed arrays with zero-based indexes and non-consecutive positions, and associative arrays with string keys that function like dictionaries.
Master indexed arrays in bash by declaring local and global arrays, creating readonly arrays, initializing elements, accessing values, iterating, measuring length, slicing, and clearing.
Master indexed arrays in bash by creating and modifying the fruits array, accessing elements, printing length, iterating with for loops, and using unset, read, and slicing to manage data.
Learn to declare, initialize, and access bash associative arrays using declare -A or declare -rA, with keys, values, compound assignment, length checks, and element removal.
Learn to declare a Bash associative array with -A, initialize and iterate its keys and values, and manage length, access with @ and *, and erase elements.
Explore how to pass indexed arrays to and from functions in Bash, by copy and by reference, print and modify elements, and return arrays with command substitution.
Demonstrate passing arrays by copy and by reference in bash, using functions like receive_arrays and return_array to modify, print, and return arrays such as fruits, prices, and sold_qty.
Learn how to pass an associative array by reference to a Bash function using local -n, observe element modification, and validate changes in a lab exercise.
Demonstrate passing an associative array by reference to a function using local -n, append mod to elements, and compare with indexed arrays in this lab.
Learn to build a compact menu driven action table in Bash by using an indexed array and a select construct to map menu choices to corresponding functions.
Explore a menu driven bash template that maps a main menu to an action table, with nested submenus and function handlers, enabling git check-ins with enforced review and approval.
Build a menu-driven bash tool for Git workflows, creating repo1 and repo2 and enabling execute permissions, then navigate a Git check-in menu to change repos, checkout branches, commit, and upload changes.
Explore Bash arrays, including indexed and associative arrays, with creation, traversal, clearing, and passing by copy or reference; build arrays of functions and a menu driven action table for automation.
Would you like to possibly be the next engineer whose BASH automation scripts became de facto standard tools used daily by thousands of other engineers in the corporation?
For only 12.5 hours in this course, you will learn the expertise from many years of BASH scripting in Silicon Valley high tech corporations to boost your productivity to a whole new level via automation.
All corporations love their productive employees. But you will love your own productivity even more because you have extra time for other important tasks in your busy life.
Learn BASH programming is the first step toward becoming a Linux / UNIX Administrator and making $110,000 salary per year!
The BASH skills you learn in this course will enable your unprecedented ability to automate daily system tasks and engineering processes on Linux, Mac OS X, Unix, and Windows. Altogether, those operating systems represent all modern computing platforms of our time in the 21st century. What a compelling reason to learn programming in BASH!
Notice: BASH programming will not be the only skill you learn in this course! You enroll in this course to boost your productivity across all modern computing platforms via BASH automation to become a star software developer.
What You Will Learn:
Feel free to take a look at the curriculum. And we look forward to seeing you on a journey to share our knowledge with you.
Disclaimer: The BASH skills we share with you in this course are the ones that help us become successful for many years in Silicon Valley. Of course, your success will vary because there is no limit in success.
See what other software developers have to say:
"All in all, I think this is a very good course totally worth its price." - Dmytro Hlomozda
"very detailed explanations" - Esteban Ruiz
"contents are good, learning a lot of things easily, good job guys" - Pradeep S
"Detailed nature of the course is impressive" - SN Sunayan Nag
"Yes, the accent is a problem. But the content is EXCELLENT. Thank you so much!!!" - Prabal
"By far the best BASH course on Udemy, and I've tried quite a few." - Brad Burnett