Book Image

Hands-On Linux Administration on Azure - Second Edition

By : Kamesh Ganesan, Rithin Skaria, Frederik Vos
Book Image

Hands-On Linux Administration on Azure - Second Edition

By: Kamesh Ganesan, Rithin Skaria, Frederik Vos

Overview of this book

Thanks to its flexibility in delivering scalable cloud solutions, Microsoft Azure is a suitable platform for managing all your workloads. You can use it to implement Linux virtual machines and containers, and to create applications in open source languages with open APIs. This Linux administration book first takes you through the fundamentals of Linux and Azure to prepare you for the more advanced Linux features in later chapters. With the help of real-world examples, you’ll learn how to deploy virtual machines (VMs) in Azure, expand their capabilities, and manage them efficiently. You will manage containers and use them to run applications reliably, and in the concluding chapter, you'll explore troubleshooting techniques using a variety of open source tools. By the end of this book, you'll be proficient in administering Linux on Azure and leveraging the tools required for deployment.
Table of Contents (14 chapters)
13
Index

The Linux Shell

In the last chapter, we created the VM and logged in using SSH, but how do we interact with the Linux machine and instruct it to perform tasks? As we mentioned at the beginning of this chapter, we'll use the shell.

We'll be exploring the widely used Bash shell, the configuration of the Bash shell, and how to use it. A shell is a user interface in which you can do the following:

  • Interact with the kernel, filesystem, and processes
  • Execute programs, aliases, and shell built-ins

A shell provides features such as the following:

  • Scripting
  • Auto-completion
  • History and aliasing

There are many different shells available, such as the KornShell, Bash, and the Z shell (Zsh). Bash is the default shell on almost every Linux system. Its development started in 1988 as a replacement for one of the oldest shells: the Bourne shell. Bash was based on the Bourne shell and lessons learned from other shells such as the KornShell and the...