© Ashwin Pajankar 2021
A. PajankarPractical Linux with Raspberry Pi OShttps://doi.org/10.1007/978-1-4842-6510-9_6

6. Shell Scripting

Ashwin Pajankar1  
(1)
Nashik, Maharashtra, India
 

In the last chapter, we learned a few more useful commands in Unix and the RPi OS. These commands and tools we learned are extremely useful in writing shell scripts.

Continuing the theme of Unix and RPi OS commands of the last chapter, we will get started with shell scripting in this chapter and continue it to the next chapter. The following is the list of topics we will learn in this chapter:
  • Unix File Permissions

  • Command: nohup

  • Beginning Shell Scripting

  • User Input

  • Expressions in the Shell

  • If Statement

  • Switch Case

  • Length of a Shell Variable

  • Command-Line Arguments

  • Function

  • Loops ...

Get Practical Linux with Raspberry Pi OS: Quick Start 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.