educative.io

Master the Bash Shell (Ian Miell)


Core Bash - What is Bash? The first lesson gives you a high-level view of what bash is, and a little on its history. View the lesson [here](https://www.educative.io/collection/page/5164406595911680/5419374779301888/5990030440923136). Core Bash - Globbing and Quoting This lesson will introduce you to the joy of quoting in bash. You will learn what globbing is and what its special characters are. It’ll also explain the difference between single and double quotes, and you’ll learn the difference between globs and regular expressions. View the lesson [here](https://www.educative.io/collection/page/5164406595911680/5419374779301888/6261306883571712). Core Bash - Variables In this lesson, you’ll learn about variables in bash and some of their subtleties. It will cover basic variables and how they're quoted, the 'env' and 'export' commands, and simple and associative arrays. By the end, you will have a good overview of how variables work in bash and some of their pitfalls. View the lesson [here](https://www.educative.io/collection/page/5164406595911680/5419374779301888/5676808240365568). Core Bash - Functions This lesson discusses the four types of a ‘command’ that exist in bash: functions, aliases, programs, and built-ins. View the lesson [here](https://www.educative.io/collection/page/5164406595911680/5419374779301888/6423084577849344). Core Bash - Pipes and Redirects In this lesson you'll look at basic redirection and pipes. You'll also learn about file descriptors, 'standard out' and 'standard error' and 'special' files like '/dev/null'. View the lesson [here](https://www.educative.io/collection/page/5164406595911680/5419374779301888/4797268530036736). Scripting Bash - Scripts and Startup This lesson will cover two related subjects: Shell scripts and what happens when the shell is started up. View the lesson [here](https://www.educative.io/collection/page/5164406595911680/5419374779301888/6245552490545152). Scripting Bash - Command Substitution In this lesson, you'll learn about command substitution and other ways of substituting commands. View the lesson [here](https://www.educative.io/collection/page/5164406595911680/5419374779301888/5633923864330240). Scripting Bash - Tests In this lesson, you'll learn some of the pitfalls and rules of thumb for practical usage of tests. You'll learn about how bash tests can be written, binary, unary, and logical operators, and if statements. View the lesson [here](https://www.educative.io/collection/page/5164406595911680/5419374779301888/4990562191015936). Scripting Bash - Loops In this lesson, you will cover for loops, case statements, and while loops in bash. This lesson will quickly take you through the various forms of looping that you might come across, including 'while' loops, 'case' statements, 'for' loops, and 'C-style' loops. View the lesson [here](https://www.educative.io/collection/page/5164406595911680/5419374779301888/6109281717846016). Scripting Bash - Exit Codes In this lesson, you will find out what an exit code is, how you can set one in a script and a function, some conventions around exit codes, and other 'special' parameters in bash. View the lesson [here](https://www.educative.io/collection/page/5164406595911680/5419374779301888/4806723011346432). Scripting Bash - The 'set' Builtin In this lesson you will become familiar with the `set` builtin, which allows you to manipulate these options within your scripts. You will cover the 'set' builtin, what POSIX is, and some useful options to set when scripting. View the lesson [here](https://www.educative.io/collection/page/5164406595911680/5419374779301888/5737190984253440). Scripting Bash - Process Substitution In this lesson, you will learn about process substitution, a handy way to save time and make scripts more concise and elegant. What you’ll learn will also allow you to capture the output of a command into a variable so that you can use it in other contexts or access it later. View the lesson [here](https://www.educative.io/collection/page/5164406595911680/5419374779301888/5794477794918400). Scripting Bash - Subshells In this lesson, we'll go over why subshells are useful, how they are created, and contrasting them with group commands. View the lesson [here](https://www.educative.io/collection/page/5164406595911680/5419374779301888/5231527841497088). Scripting Bash - The Internal Field Separator In this lesson we will cover how and when to use the 'IFS' variable to protect your scripts from bugs, as well as other techniques available to achieve similar ends. View the lesson [here](https://www.educative.io/collection/page/5164406595911680/5419374779301888/6615375431073792). Bash in Practice - The Prompt In this lesson, you will learn how to set up your main prompt, as well as other types of prompts and related shell variables. View the lesson [here](https://www.educative.io/collection/page/5164406595911680/5419374779301888/5701998559100928). Bash in Practice - The Readline Library In this lesson, you’ll learn about what readline is, what bash looks like without it, and how to manipulate and find out more about its features. View the lesson [here](https://www.educative.io/collection/page/5164406595911680/5419374779301888/4515255608672256). Bash in Practice - Terminal Codes In this lesson you will learn about how the terminal can be manipulated to display non-standard characters that direct it to change its appearance. View the lesson [here](https://www.educative.io/collection/page/5164406595911680/5419374779301888/4584985879117824). Bash in Practice - Here Docs In this lesson, we will cover 'here docs' and 'here strings', and when to use them. View the lesson [here](https://www.educative.io/collection/page/5164406595911680/5419374779301888/6302089980411904). Bash in Practice - Bash History This lesson gives you a pragmatic overview of bash’s history features, which can save you lots of time when at the terminal. You will learn about where your history is stored, how previous commands can be referenced, and various options and variables that can be set when working with your shell history. View the lesson [here](https://www.educative.io/collection/page/5164406595911680/5419374779301888/5684027610628096). Bash in Practice - Putting It Together - Some Useful Examples In this lesson, you’re going to see many of the ideas you’ve learned put together in more realistic contexts, so you can get a flavour for what bash can do for you on a day-to-day basis. View the lesson [here](https://www.educative.io/collection/page/5164406595911680/5419374779301888/5146564261576704). Advanced Bash - Job Control In this lesson, you’ll learn what job control is, and how to manage and run multiple jobs in your shell. View the lesson [here](https://www.educative.io/collection/page/5164406595911680/5419374779301888/5277093417975808). Advanced Bash - Traps and Signals In this lesson you will learn what a signal is, how the `kill` command can be used to send signals, and how signals can be trapped. In addition, you'll cover the 'wait' bash builtin, and what a 'process group' is. View the lesson [here](https://www.educative.io/collection/page/5164406595911680/5419374779301888/5532163069968384). Advanced Bash - Debugging In this lesson, you will learn about bash flags useful for debugging, how to trace bash code, and useful resources for linting bash scripts. View the lesson [here](https://www.educative.io/collection/page/5164406595911680/5419374779301888/6658062976811008). Advanced Bash - String Manipulation In this lesson, you'll cover how to edit strings in bash, what extglobs are and how you can use them, and how to avoid common quoting problems with strings. View the lesson [here](https://www.educative.io/collection/page/5164406595911680/5419374779301888/4894715096858624). Advanced Bash - Autocomplete In this lesson, you will cover how autocomplete works in bash, the bash 'shift' builtin, and changing case in variables. View the lesson [here](https://www.educative.io/collection/page/5164406595911680/5419374779301888/5242359212146688). Advanced Bash - Conclusion In this conclusion we will wrap up the course and suggest where you go from here. View the lesson [here](https://www.educative.io/collection/page/5164406595911680/5419374779301888/6261904500588544).
About the Master the Bash Shell (Ian Miell) category [Master the Bash Shell (Ian Miell)] (1)
File Renaming command not working on Bash or Zsh [Core Bash - Globbing and Quoting] (1)
Wrong Quiz Solution [Core Bash - What is Bash?] (1)