CHAPTER 7Running It Anyway You LikeAn Introduction to BashShell Scripting

Knowing your way with commands on Linux is one thing. But, if you really want to understand what is happening on Ubuntu Server, you must at least be able to read shell scripts. On Ubuntu Server, many things are automated with shell scripts. For example, the entire startup procedure consists of ingenious shell scripts that are tied together. As an administrator, it's very useful to know how to do some shell scripting yourself.

For these reasons, this chapter will give you an introduction to shell scripting. After a short introduction, you'll learn about the most important components that you'll see in most shell scripts, such as iterations, functions, and some basic calculations. ...

Get Beginning Ubuntu Server Administration: From Novice to Professional now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.