From the course: Learning Bash Scripting

Unlock this course with a free trial

Join today to access over 24,500 courses taught by industry experts.

Bash built-ins and other commands

Bash built-ins and other commands - Bash Tutorial

From the course: Learning Bash Scripting

Bash built-ins and other commands

- [Instructor] When we're working with a shell, with Bash, in this case, most of what we do involves running commands. These commands are things like ls, rm, grep, awk, and pretty much anything else you'd commonly use a shell to run. These commands are separate from Bash. They're separate programs that are installed on the system. But Bash includes a few builtins, or commands that are part of Bash built right into it, which we can use as well. Sometimes, these builtins are unique to Bash, and sometimes, they have the same name as other commands on the system. There's a list of builtins in the Bash man pages, but I'll just focus on a few here that we'll be using going forward in the course. One of the situations where commands and builtins overlap is echo, which outputs text. I'll type echo and some text. And when I run the command, Bash shows me the text here on the standard output. One thing to know about echo is that…

Contents