Get under-the-hood and behind-the-scenes with the most popular Linux command shell, the Bash shell. This course covers streams, variables, environments, interpreting and executing commands, pipelines, aliases, and more.
In this course, we cover the main aspects of the Bash shell, still the most popular Linux command shell. Throughout the course, the author uses a balance of theory and practical examples to teach the fundamental components of the Bash shell. This is not a course that teaches hundreds of commands and shortcuts, it's a course that gets under the covers of the shell and demystifies the inner workings so that learners have a solid foundation to build on. Throughout the course, all theoretical principles are backed up with hands-on examples.
Introduction Hi, and a huge welcome to this course, Red Hat Enterprise Linux Shell Fundamentals. My name's Nigel Poulton and I'm your instructor for this course. So a quick intro from me, and then a bit of an outline about what we can expect from the course. Then a quick primer on what a shell is. So I'm Nigel and, to be honest, I'm really into technology like this. In fact, I'm a bit addicted to it, to be honest, but I just find it fascinating and I love teaching and learning. So hopefully that comes across in the course. I really hope you enjoy it.
Different Types of Shell Hi and welcome to this module on Different Types of Shell. I'm Nigel Poulton, and I'm your instructor. So in this module, and throughout the course, we'll be working with the Bash shell, probably the most common and popular shell, and probably the one that will be most beneficial to your career. Now then, the aim of this module is to walk through the different types of shell, but we don't just mean shells other than Bash, like the KornShell or the Z shell. We also mean things like what's our current shell, and how can we find out what our current shell is? How do we switch between shells? What's a login shell, and what are virtual consoles? And we'll also have a quick run through some basic, but important, Linux process theory. All fundamental, but important stuff when it comes to navigating our way around a Linux system on the command line. So, without further ado, let's jump onto a Linux system and get working with the shell.
Standard Streams Hi, and welcome to this module on Standard Streams, part of the RedHat Enterprise Linux Shell Fundamentals course. My name's Nigel Poulton and I'm your instructor for this topic. Now then, if you haven't heard of streams, or maybe you've heard of them but aren't quite sure exactly what they are, then you're missing a fundamental piece of UNIX command line knowledge, and this module is for you. Because learning what they are, and of course, how they work could be a real ah-ha moment for you. Now this is going to be one of those under the hood modules, where we'll show how stuff works behind the scenes with a good mix of theory and practical. The aim being, by the end of this module we'll know all about things like standard in, standard out, and standard error, redirection, and how in UNIX, pretty much everything is a file. And this will all then provide a solid foundation on which we can build world-class Linux skills. So let's kick off the module by talking about what streams are.
The Shell Environment Hi there and welcome to this module on The Shell Environment, part of the wider RedHat Enterprise Linux Shell Fundamentals course. My name's Nigel Poulton and I'm your trainer, again, for this module. In this module, we'll explain exactly what an environment is, and we'll get into what makes up our shell environment. Some of the things that we'll cover will include shell variables, global or environment variables, how to customize our shell prompt, and finally, how to customize ours shell environment. But before we get to all that good stuff, let's do a couple of quick primers. One is a short sharp intro to variables, and then the same for environments. Both short, sharp, and straight to the point though, just to set us up for the rest of the module.
Shell Commands Hi and welcome to this module on Shell Commands, the final module of this course on RedHat Enterprise Linux Shell Fundamentals. As always, I'm Nigel Poulton, and I'm going to be your instructor again for this module. Our aim for this module, as always, is to understand what's going on behind the scenes, under the hood, and get a solid understanding of how the shell works. And, as usual, it'll be a great mix of theory and practical. Now in particular, we'll start out by looking at how the shell, particularly Bash, interprets commands, and, of course, how we build them on the command line. And we'll look at how Bash executes commands. Then we'll look at a massively simple, but massively helpful feature of the shell, command history. Then we'll finish things up by a look at piping commands together, aliases, and running jobs in the background. Now we'll be building all of this on top of the knowledge of under the hood workings that we've already learned in this course. For example, when we look at piping we'll be building on top of the concepts of standard in and standard out streams that we covered already earlier in the course. But we're getting ahead of ourselves, so let's start at the top and look first at how we construct shell commands and how Bash interprets them.