Book Image

Linux Mint Essentials

By : Jay LaCroix
Book Image

Linux Mint Essentials

By: Jay LaCroix

Overview of this book

Table of Contents (22 chapters)
Linux Mint Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Introduction to scripting


Now that you are beginning to grasp how to enter shell commands, it's a good time to introduce scripting. Although this book will not go into scripting in great detail, covering the very basics of it here will help you study scripting should you decide to do so.

Note

If you do decide to further your scripting skills (it's a very useful skill for you to learn), there are many books available that are dedicated to this very subject. One such book is Linux Shell Scripting Cookbook, Second Edition, Shantanu Tushar and Sarath Lakshman, Packt Publishing

Bash scripts are actually just text files. So, to get started, you'll need to fire up a text editor. You can use whichever text editor you'd like, such as nano (discussed earlier in this chapter) or even gedit, which is a graphical text editor that ships with Mint. Scripts are executed from the terminal, so you may want to use nano to edit your scripts as you will end up in the terminal at some point during this process...