Summary
Because a typical shell script calls so many different commands, knowing the commands provided to you by the Bash shell itself, and by the system on which it runs, equips you to choose the right tool for the job; that decision can be particularly difficult in shell scripting, with so many options and alternatives available.
Knowing what the Bash shell provides – and what the POSIX standard specifies for the system to provide – will help you write shell scripts that will run safely, reliably, and portably on the systems where you need them to run. Tools like type, help, and man will enable you to identify and find the correct documentation for these commands.
In the next chapter, we'll look at how we can specify and redirect input ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access